FEATURE: show the user's flagged/deleted posts

This commit is contained in:
Régis Hanol
2014-07-16 21:04:55 +02:00
parent 71c67c43a1
commit 7dcf2a2c4f
18 changed files with 395 additions and 5 deletions

View File

@@ -156,4 +156,12 @@ module PostGuardian
def can_wiki?
is_staff? || @user.has_trust_level?(:elder)
end
def can_see_flagged_posts?
is_staff?
end
def can_see_deleted_posts?
is_staff?
end
end