]> git.openstreetmap.org Git - rails.git/commit
Use dynamic error pages built through the asset pipeline
authorTom Hughes <tom@compton.nu>
Wed, 1 Aug 2018 17:56:11 +0000 (18:56 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 1 Aug 2018 18:13:04 +0000 (19:13 +0100)
commit5fa0aebe9fee869a4a988859dd454a28ee451b97
tree9daca419cc06f18303edfd8cb42b8b1a6597a12e
parent49d5c686005fcf784c3633eacbcd18940f904060
Use dynamic error pages built through the asset pipeline

Fixes #1241
14 files changed:
.rubocop_todo.yml
app/assets/stylesheets/errors.scss [new file with mode: 0644]
app/controllers/errors_controller.rb [new file with mode: 0644]
app/views/errors/forbidden.html.erb [new file with mode: 0644]
app/views/errors/internal_server_error.html.erb [new file with mode: 0644]
app/views/errors/not_found.html.erb [new file with mode: 0644]
app/views/layouts/error.html.erb [new file with mode: 0644]
config/initializers/assets.rb
config/initializers/errors.rb [new file with mode: 0644]
config/routes.rb
public/403.html [deleted file]
public/404.html [deleted file]
public/500.html [deleted file]
test/controllers/errors_controller_test.rb [new file with mode: 0644]