Module: Nyauth::SessionConcern::ClassMethods
- Defined in:
- app/controllers/concerns/nyauth/session_concern.rb
Instance Method Summary collapse
Instance Method Details
#allow_everyone(options = {}) ⇒ Object
72 73 74 75 76 77 78 |
# File 'app/controllers/concerns/nyauth/session_concern.rb', line 72 def allow_everyone( = {}) if [:only] self.allow_actions = [:only] || [] else self.allow_actions = :all end end |