removed t and f 's from group model

removed t and f 's from user model as mentioned in #919

removed t's and f's from category model
This commit is contained in:
nirnanaaa
2013-05-29 21:46:03 +02:00
parent 00c1c4691d
commit 364113a4d5
3 changed files with 6 additions and 6 deletions

View File

@ -60,7 +60,7 @@ class User < ActiveRecord::Base
scope :admins, ->{ where(admin: true) }
scope :moderators, ->{ where(moderator: true) }
scope :staff, ->{ where("moderator = 't' or admin = 't'") }
scope :staff, ->{ where("moderator or admin ") }
module NewTopicDuration
ALWAYS = -1