Add blocked users count to dashboard

This commit is contained in:
Neil Lalonde
2013-07-08 12:21:08 -04:00
parent cfc4dda9ff
commit 9b0f63627b
9 changed files with 47 additions and 27 deletions

View File

@ -27,6 +27,7 @@ class AdminUserIndexQuery
when 'admins' then @query.where('admin = ?', true)
when 'moderators' then @query.where('moderator = ?', true)
when 'blocked' then @query.blocked
when 'banned' then @query.banned
when 'pending' then @query.where('approved = false')
end
end