Sha256: 65faad96d505e7a26783bea3229f1a80be3f2de8836d25012ff0059beb01a872

Contents?: true

Size: 278 Bytes

Versions: 4

Compression:

Stored size: 278 Bytes

Contents

class ExceptionsApp < Rambulance::ExceptionsApp
  def not_found; end

  def internal_server_error
    render inline: <<-BODY
      <html>
        <body>
          <h1>Custom error page</h1>
          <p>Something went wrong!</p>
        </body>
      </html>
    BODY
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rambulance-0.3.1 spec/fake_app/lib/exceptions_app.rb
rambulance-0.3.0 spec/fake_app/lib/exceptions_app.rb
rambulance-0.2.0 spec/fake_app/lib/exceptions_app.rb
rambulance-0.1.2 spec/fake_app/lib/exceptions_app.rb