summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-12-21 14:21:18 +0100
committerJames Lopez <james@jameslopez.es>2016-12-21 14:21:18 +0100
commitb902784dbff64d1f746fc38249a814debb8ed325 (patch)
tree883f4a58f711162a00fc831b41e7856c78ff1ca2
parent4c3ec579e5660daab23d48bd4b3e21050735f726 (diff)
downloadgitlab-ce-b902784dbff64d1f746fc38249a814debb8ed325.tar.gz
-rw-r--r--app/controllers/groups_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb
index 1e499199f82..efe9c001bcf 100644
--- a/app/controllers/groups_controller.rb
+++ b/app/controllers/groups_controller.rb
@@ -82,7 +82,7 @@ class GroupsController < Groups::ApplicationController
if Groups::UpdateService.new(@group, current_user, group_params).execute
redirect_to edit_group_path(@group), notice: "Group '#{@group.name}' was successfully updated."
else
- @group.reload
+ @group.reset_path!
render action: "edit"
end