Fix a typo in flash message
This commit is contained in:
Mladen Ilić 2019-08-22 18:51:05 +02:00 committed by Ben Halpern
parent c9b40326ac
commit 50fe104ee7

View file

@ -29,7 +29,7 @@ class Internal::OrganizationMembershipsController < Internal::ApplicationControl
if organization_membership.destroy
flash[:success] = "User was successfully removed from org ##{organization_membership.organization_id}"
else
flash[:danger] = "Something wen wrong with removing the user from org ##{organization_membership.organization_id}"
flash[:danger] = "Something went wrong with removing the user from org ##{organization_membership.organization_id}"
end
redirect_to internal_user_path(organization_membership.user_id)
end