Method: ExceptionsController#show

Defined in:
app/controllers/exceptions_controller.rb

#showObject

Show



14
15
16
17
# File 'app/controllers/exceptions_controller.rb', line 14

def show
  log_controller_error request.env['action_dispatch.exception']
  @xhr = request.headers['HTTP_X_REQUESTED_WITH'].present?
end