Class: ErrorResponseController

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

Instance Method Summary collapse

Instance Method Details

#dummy_actionObject



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

def dummy_action
  render :nothing => true
end

#indexObject



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