fix routes.rb

This commit is contained in:
Devin Howard 2016-09-29 08:38:02 +08:00
parent 93341719a9
commit 88297b4eaa

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