error message update

This commit is contained in:
2458773093 2019-07-16 17:10:38 +03:00
parent 6e37a72ed6
commit 1d6564cf88
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class GroupPolicy < ApplicationPolicy
def join?
check_archive!
raise GabSocial::ValidationError, "User is already a member of this group." if is_member?
raise GabSocial::ValidationError, "Account is already a member of this group." if is_member?
raise GabSocial::ValidationError, "Account is removed from this group." if is_removed?
return true