Module: Gaffe::Errors
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/gaffe/errors.rb', line 11 def show begin render "errors/#{@rescue_response}", status: @status_code rescue ActionView::MissingTemplate render "errors/internal_server_error", status: 500 end end |