X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b4106383d99ccbf152d79b0f2c9deca95df9fb61..5fa0aebe9fee869a4a988859dd454a28ee451b97:/config/routes.rb diff --git a/config/routes.rb b/config/routes.rb index 0522115f1..6a3efe3b0 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -313,4 +313,9 @@ OpenStreetMap::Application.routes.draw do # redactions resources :redactions + + # errors + match "/403", :to => "errors#forbidden", :via => :all + match "/404", :to => "errors#not_found", :via => :all + match "/500", :to => "errors#internal_server_error", :via => :all end