diff --git a/config/routes.rb b/config/routes.rb index ac35dcdd..f203770a 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -52,5 +52,7 @@ root to: "catalog#index" + match '*unmatched', to: 'errors#not_found', via: :all + # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html end