Class: ActionController::Base
- Includes:
- ActiveScaffold::ActionController
- Defined in:
- lib/active_scaffold/extensions/action_controller_rendering.rb,
lib/active_scaffold/extensions/action_controller_rescueing.rb
Instance Method Summary collapse
-
#deny_access ⇒ Object
adding to ActionController::Base so it can overrided in ApplicationController.
Methods included from ActiveScaffold::ActionController
Instance Method Details
#deny_access ⇒ Object
adding to ActionController::Base so it can overrided in ApplicationController
4 5 6 |
# File 'lib/active_scaffold/extensions/action_controller_rescueing.rb', line 4 def deny_access head :forbidden # better for action or record not allowed, according to RFC 7231 end |