Merge pull request #683 from metamaps/fix/routes

fix routes.rb
This commit is contained in:
Devin Howard 2016-09-29 08:44:15 +08:00 committed by GitHub
commit ee9a49d7c6

View file

@ -45,12 +45,14 @@ Metamaps::Application.routes.draw do
resources :synapses, except: [:index, :new, :edit]
resources :topics, except: [:index, :new, :edit] do
get :autocomplete_topic
member do
get :network
get :relative_numbers
get :relatives
end
collection do
get :autocomplete_topic
end
end
resources :users, except: [:index, :destroy] do