]> git.openstreetmap.org Git - rails.git/commit
Send plain errors for non HTML resources
authorTom Hughes <tom@compton.nu>
Tue, 16 Nov 2021 12:44:52 +0000 (12:44 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 16 Nov 2021 12:44:52 +0000 (12:44 +0000)
commit02fb858956615e730ae6e93fcd4c287824bf9284
tree1b1521b2d27380cf49697d85b9e74545a970c665
parente3966479a6ea5c579706d227fd6b55a41fb183db
Send plain errors for non HTML resources

Without this we throw a second error when we can't find a view
of the correct format and issue a 500 response.
app/controllers/errors_controller.rb