Module: WithAuthorization
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/controllers/concerns/with_authorization.rb
Instance Method Summary collapse
Instance Method Details
#authorization_slug ⇒ Object
4 5 6 |
# File 'app/controllers/concerns/with_authorization.rb', line 4 def protection_slug || '_/_' end |
#protection_slug ⇒ Object
8 9 10 11 |
# File 'app/controllers/concerns/with_authorization.rb', line 8 def protection_slug warn "protection_slug is nil, which is not probably what you want" unless @slug @slug end |