Commit f7fc2020 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'unify-repository-controller' into 'master'

Move include SafeMirrorParams to EE module

See merge request gitlab-org/gitlab-ee!5631
parents 67d2b90d c1b0e55e
module Projects
module Settings
class RepositoryController < Projects::ApplicationController
include SafeMirrorParams
before_action :authorize_admin_project!
before_action :remote_mirror, only: [:show]
......
......@@ -5,6 +5,8 @@ module EE
extend ActiveSupport::Concern
prepended do
include SafeMirrorParams
before_action :push_rule, only: [:show]
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment