Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2019-04-04 18:13:42 +0300
committerSean McGivern <sean@gitlab.com>2019-04-04 18:13:42 +0300
commitc7f918aa691b1b9c6ee6a489ae28a094eacff72c (patch)
treeabeffe14065f7206fe52553c102eb46f5f0014ff /app/controllers
parent349d6b0326286b6ff3831fc0d8c499b42967c6d2 (diff)
parentffbc66cc0bb62b962779aea4d4b0c06dcf12078e (diff)
Merge branch 'xanf/gitlab-ce-transfer-disables-js' into 'master'
Resolve "Failing group transfer disables expandable sections" Closes #45511 See merge request gitlab-org/gitlab-ce!26837
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/groups_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb
index 0192b1c253e..87b8ef03313 100644
--- a/app/controllers/groups_controller.rb
+++ b/app/controllers/groups_controller.rb
@@ -124,8 +124,8 @@ class GroupsController < Groups::ApplicationController
flash[:notice] = "Group '#{@group.name}' was successfully transferred."
redirect_to group_path(@group)
else
- flash.now[:alert] = service.error
- render :edit
+ flash[:alert] = service.error
+ redirect_to edit_group_path(@group)
end
end
# rubocop: enable CodeReuse/ActiveRecord