Used the term suspended instead of banned.

This commit is contained in:
Neil Lalonde
2013-11-07 13:53:32 -05:00
parent 706f96af0a
commit 0c6f794eb0
57 changed files with 318 additions and 312 deletions

View File

@ -29,8 +29,8 @@ 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.not_banned.where('approved = false')
when 'suspended' then @query.suspended
when 'pending' then @query.not_suspended.where('approved = false')
end
end