diff options
author | James Lopez <james@jameslopez.es> | 2016-12-21 14:21:18 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-12-21 14:21:18 +0100 |
commit | b902784dbff64d1f746fc38249a814debb8ed325 (patch) | |
tree | 883f4a58f711162a00fc831b41e7856c78ff1ca2 | |
parent | 4c3ec579e5660daab23d48bd4b3e21050735f726 (diff) | |
download | gitlab-ce-b902784dbff64d1f746fc38249a814debb8ed325.tar.gz |
fix reset pathfix/group-path-rename-error
-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 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 |