Module: Gaffe::Errors

Extended by:
ActiveSupport::Concern
Included in:
ErrorsController
Defined in:
lib/gaffe/errors.rb

Instance Method Summary collapse

Instance Method Details

#showObject



11
12
13
14
15
# File 'lib/gaffe/errors.rb', line 11

def show
  render "errors/#{@rescue_response}", status: @status_code
rescue ActionView::MissingTemplate
  render 'errors/internal_server_error', status: 500
end