Class: ErrorResponseController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ErrorResponseController
- Defined in:
- app/controllers/error_response_controller.rb
Instance Method Summary collapse
Instance Method Details
#dummy_action ⇒ Object
6 7 8 |
# File 'app/controllers/error_response_controller.rb', line 6 def dummy_action render :nothing => true end |
#index ⇒ Object
2 3 4 |
# File 'app/controllers/error_response_controller.rb', line 2 def index render(:text => @_env['exception_handler.response'], :layout => @_env['exception_handler.layout']) end |