config/routes.rb in iqvoc-4.12.1 vs config/routes.rb in iqvoc-4.13.0
- old
+ new
@@ -83,10 +83,11 @@
get 'help' => 'pages#help', as: 'help'
get 'version' => 'pages#version', as: 'version'
get 'components' => 'pages#components', as: 'components'
get '/' => 'frontpage#index', as: 'localized_root'
+ match '*unmatched', to: 'errors#not_found', via: :all
end
patch ':origin/add_match' => 'reverse_matches#add_match', as: 'add_match'
patch ':origin/remove_match' => 'reverse_matches#remove_match', as: 'remove_match'
@@ -97,8 +98,10 @@
get 'search' => 'search_results#index', as: 'rdf_search'
get 'hierarchy' => 'hierarchy#index'
get 'hierarchy/:root' => 'hierarchy#show'
get ':id' => 'rdf#show', as: 'rdf'
+
+ match '*unmatched', to: 'errors#not_found', via: :all
root to: 'frontpage#index', format: nil
end