Sha256: f2d029559a48d37b8b37fff7b05ad597ba94cd664dc63f7766b667c0d7fb84f9
Contents?: true
Size: 961 Bytes
Versions: 3
Compression:
Stored size: 961 Bytes
Contents
<!doctype html> <html> <head> <meta charset="UTF-8" /> <title>Error!</title> <style type="text/css"> <%= File.read(Gaffe.root.join('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> <% handlers = ActionView::Template::Handlers.extensions.map(&:to_s).join(', ') %> <pre> <code><%= Rails.root.join('app', 'views', 'layouts', "error.html.<em title='#{handlers}'>handler</em>").to_s.html_safe %></code> <code><%= Rails.root.join('app', 'views', 'errors', "#{@rescue_response.to_s}.html.<em title='#{handlers}'>handler</em>").to_s.html_safe %></code> </pre> </div> </body> </html>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gaffe-1.0.1 | app/views/layouts/error.html.erb |
gaffe-1.0 | app/views/layouts/error.html.erb |
gaffe-0.2.1 | app/views/layouts/error.html.erb |