diff --git a/app/models/user.rb b/app/models/user.rb index 86d0da7..5110deb 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -197,6 +197,10 @@ class User < ActiveRecord::Base groups.exists? :id => Group::REFEREES end + def staff? + groups.exists? :id => Group::STAFF + end + def caster? groups.exists? :id => Group::CASTERS end