Use notice flash type rather than nonexistent info.

This commit is contained in:
Douwe Maan 2015-04-10 15:26:18 +02:00
parent 453340d449
commit 2a45eb6a91

View file

@ -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