Skip to content
Snippets Groups Projects

Moves Protected paths throttling from Omnibus to GitLab Rails

Closed Mayra Cabrera requested to merge mc-moves-protected-path-throttle-to-gitlab-rails into master
3 unresolved threads
Compare and Show latest version
6 files
+ 26
12
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -225,14 +225,6 @@ def protected_paths_raw=(values)
self.protected_paths = strings_to_array(values)
end
def add_to_protected_paths(values_array)
clear_memoization(:protected_paths_array)
self.protected_paths ||= []
self.protected_paths += values_array
self.protected_paths.uniq!
end
def asset_proxy_whitelist=(values)
values = strings_to_array(values) if values.is_a?(String)
Loading