diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2018-04-18 13:26:44 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2018-04-18 13:26:44 +0300 |
commit | 320ae8ff4a0f7da4056967d6ab1a48e071d4b31d (patch) | |
tree | 59523ba9b7e38fa97c7c7efd623c9d30f6a20d76 /app/controllers/groups_controller.rb | |
parent | f150f262a9dee0ed329adf3fd30ea8a47a5e3c6b (diff) | |
parent | 2ee53feea8903b0c40c93b2b14aebd6991c46754 (diff) |
Merge branch 'blackst0ne-rails5-add-safe-params-helper' into 'master'
[Rails5] Add `safe_params` helper
See merge request gitlab-org/gitlab-ce!18241
Diffstat (limited to 'app/controllers/groups_controller.rb')
-rw-r--r-- | app/controllers/groups_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index 5ac4b8710e2..79fa5818359 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -189,6 +189,6 @@ class GroupsController < Groups::ApplicationController params[:id] = group.to_param - url_for(params) + url_for(safe_params) end end |