summaryrefslogtreecommitdiff
path: root/app/controllers/projects_controller.rb
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2017-07-21 18:45:12 +0100
committerNick Thomas <nick@gitlab.com>2017-07-21 18:45:12 +0100
commite4391c7190fcebd37e49db447b22b1081dca9741 (patch)
tree6ae62e5833e6a04128ff39ae11d5cab31db706dc /app/controllers/projects_controller.rb
parent2209426f7ba1a0c40b09e5b67ac3b48fd15f7b99 (diff)
downloadgitlab-ce-e4391c7190fcebd37e49db447b22b1081dca9741.tar.gz
Backport changes from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2328
Diffstat (limited to 'app/controllers/projects_controller.rb')
-rw-r--r--app/controllers/projects_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index c769693255c..2d7cbd4614e 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -296,10 +296,10 @@ class ProjectsController < Projects::ApplicationController
def project_params
params.require(:project)
- .permit(project_params_ce)
+ .permit(project_params_attributes)
end
- def project_params_ce
+ def project_params_attributes
[
:avatar,
:build_allow_git_fetch,