summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-04-10 15:26:18 +0200
committerDouwe Maan <douwe@gitlab.com>2015-04-14 12:08:11 +0200
commit2a45eb6a912a35b71e3cbe7aacbda3323730d9da (patch)
treede3b9d158ce0547dcd2e13792db7955f52c21aee /app
parent453340d4496ce0500985d6432c32e8d31be350a7 (diff)
downloadgitlab-ce-2a45eb6a912a35b71e3cbe7aacbda3323730d9da.tar.gz
Use notice flash type rather than nonexistent info.
Diffstat (limited to 'app')
-rw-r--r--app/controllers/groups/group_members_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/groups/group_members_controller.rb b/app/controllers/groups/group_members_controller.rb
index 1a4b13b9d73..0018cd34bbe 100644
--- a/app/controllers/groups/group_members_controller.rb
+++ b/app/controllers/groups/group_members_controller.rb
@@ -39,7 +39,7 @@ class Groups::GroupMembersController < Groups::ApplicationController
if can?(current_user, :destroy_group_member, @group_member) # May fail if last owner.
@group_member.destroy
respond_to do |format|
- format.html { redirect_to group_group_members_path(@group), notice: 'User was successfully removed from group.' }
+ format.html { redirect_to group_group_members_path(@group), notice: 'User was successfully removed from group.' }
format.js { render nothing: true }
end
else
@@ -63,7 +63,7 @@ class Groups::GroupMembersController < Groups::ApplicationController
if can?(current_user, :destroy_group_member, @group_member)
@group_member.destroy
- redirect_to(dashboard_groups_path, info: "You left #{group.name} group.")
+ redirect_to(dashboard_groups_path, notice: "You left #{group.name} group.")
else
return render_403
end