Use notice flash type rather than nonexistent info.
This commit is contained in:
parent
453340d449
commit
2a45eb6a91
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue