Sha256: e16bb7be852bbf4bc9be6b87d2961a8ae1365cc42c19ed931727c8f55411678f

Contents?: true

Size: 849 Bytes

Versions: 2

Compression:

Stored size: 849 Bytes

Contents

<!doctype html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>Error!</title>
    <style type="text/css">
      <%= File.read(File.join(Gaffe.root, 'app/assets/stylesheets/errors.css')).gsub("\n", ' ').gsub('  ', ' ') %>
    </style>
  </head>
  <body>
    <div id="wrap">
      <h1>Error!</h1>
      <p>This is an error page brought to you by <a href="https://github.com/mirego/gaffe">Gaffe</a>.</p>

      <div class="content">
        <hr>
        <%= yield %>
        <hr>
      </div>

      <p>You can overwrite this page by creating these files:</p>

<pre>
<code><%= Rails.root.join('app', 'views', 'layouts', "error.html.<em>[handler]</em>").to_s.html_safe %></code>
<code><%= Rails.root.join('app', 'views', 'errors', "#{@rescue_response.to_s}.html.<em>[handler]</em>").to_s.html_safe %></code>
</pre>
    </div>
  </body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gaffe-0.2 app/views/layouts/error.html.erb
gaffe-0.1.2 app/views/layouts/error.html.erb