Class: ErrorResponseController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/error_response_controller.rb

Instance Method Summary collapse

Instance Method Details

#dummy_actionObject



7
8
9
# File 'app/controllers/error_response_controller.rb', line 7

def dummy_action
  render :nothing => true
end

#indexObject



3
4
5
# File 'app/controllers/error_response_controller.rb', line 3

def index
  render(:text => @_env['exception_handler.response'], :layout => @_env['exception_handler.layout'])
end