Let's not show tons of extra information about invites unless you're the

person who invited them.
This commit is contained in:
Robin Ward
2014-03-21 14:13:04 -04:00
parent e7ae0bba5f
commit 539890afdf
9 changed files with 89 additions and 50 deletions

View File

@@ -176,7 +176,7 @@ class Guardian
@user.approved?
end
def can_see_pending_invites_from?(user)
def can_see_invite_details?(user)
is_me?(user)
end