config/routes.rb in iqvoc-4.1.3 vs config/routes.rb in iqvoc-4.2.0

- old
+ new

@@ -27,12 +27,13 @@ resources :concepts resources :collections get 'scheme' => 'concepts/scheme#show', :as => 'scheme' get 'scheme/edit' => 'concepts/scheme#edit', :as => 'edit_scheme' - put 'scheme' => 'concepts/scheme#update' + patch 'scheme' => 'concepts/scheme#update' + get 'hierarchy' => 'hierarchy#index' get 'hierarchy/:root' => 'hierarchy#show' get 'triplestore_sync' => 'triplestore_sync#index' post 'triplestore_sync' => 'triplestore_sync#sync' @@ -49,30 +50,29 @@ get 'expired_concepts' => 'concepts/expired#index', :as => 'expired_concepts' get 'dashboard' => 'dashboard#index', :as => 'dashboard' get 'config' => 'instance_configuration#index', :as => 'instance_configuration' - put 'config' => 'instance_configuration#update' + patch 'config' => 'instance_configuration#update' get 'import' => 'import#index', :as => 'import' post 'import' => 'import#import' get 'search' => 'search_results#index', :as => 'search' get 'help' => 'pages#help', :as => 'help' get '/' => 'frontpage#index' - root :to => 'frontpage#index', :format => nil + # root :to => 'frontpage#index', :format => nil end get 'schema' => redirect('/'), :as => 'schema' get 'scheme' => 'concepts/scheme#show', :as => 'rdf_scheme' get 'search' => 'search_results#index', :as => 'rdf_search' get ':id' => 'rdf#show', :as => 'rdf' - get 'collections/:id', :as => 'rdf_collection', :to => 'collections#show' get 'collections', :as => 'rdf_collections', :to => 'collections#index' root :to => 'frontpage#index', :format => nil end