error message update
This commit is contained in:
parent
6e37a72ed6
commit
1d6564cf88
@ -23,7 +23,7 @@ class GroupPolicy < ApplicationPolicy
|
|||||||
|
|
||||||
def join?
|
def join?
|
||||||
check_archive!
|
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?
|
raise GabSocial::ValidationError, "Account is removed from this group." if is_removed?
|
||||||
|
|
||||||
return true
|
return true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user