X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b4106383d99ccbf152d79b0f2c9deca95df9fb61..e0abb299d01097a5469a7e72b2e63194e0cc6003:/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