diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-08-08 09:24:36 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-08-08 09:24:36 +0300 |
commit | 308a07f365d0ea0828f404d596492ca7318c3674 (patch) | |
tree | 0bb6ea068456b2b1d71824fb32e08a211950c464 /app/controllers/groups_controller.rb | |
parent | 9c0f52714ce9b406a2775a0487843d80e596d9a6 (diff) |
ensure all group settings panels remain open after form submission
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 79fa5818359..83169636ccf 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -85,7 +85,7 @@ class GroupsController < Groups::ApplicationController def update if Groups::UpdateService.new(@group, current_user, group_params).execute - redirect_to edit_group_path(@group), notice: "Group '#{@group.name}' was successfully updated." + redirect_to edit_group_path(@group, anchor: params[:update_section]), notice: "Group '#{@group.name}' was successfully updated." else @group.restore_path! |