config/routes.rb in iqvoc-4.0.3 vs config/routes.rb in iqvoc-4.0.4

- old
+ new

@@ -26,12 +26,10 @@ resources :users, :except => [:show] resources :concepts resources :collections - resources :triple_store_syncs, :only => [:new, :create] - match "/" => "frontpage#index" match "concepts/:origin/branch(.:format)" => "concepts/versions#branch", :as => "concept_versions_branch" match "concepts/:origin/merge(.:format)" => "concepts/versions#merge", :as => "concept_versions_merge" match "concepts/:origin/lock(.:format)" => "concepts/versions#lock", :as => "concept_versions_lock" @@ -56,10 +54,13 @@ match 'search(.:format)' => 'search_results#index', :as => 'search' get "help" => "pages#help", :as => "help" root :to => 'frontpage#index', :format => nil + + get "triplestore_sync" => "triplestore_sync#index" + post "triplestore_sync" => "triplestore_sync#sync" end match '/scheme(.:format)' => 'rdf#scheme', :as => 'scheme' - match '/:id(.:format)' => 'concepts#show', :as => 'rdf' + match '/:id(.:format)' => 'rdf#show', :as => 'rdf' end