fix routes.rb
This commit is contained in:
parent
93341719a9
commit
88297b4eaa
1 changed files with 3 additions and 1 deletions
|
@ -45,12 +45,14 @@ Metamaps::Application.routes.draw do
|
||||||
resources :synapses, except: [:index, :new, :edit]
|
resources :synapses, except: [:index, :new, :edit]
|
||||||
|
|
||||||
resources :topics, except: [:index, :new, :edit] do
|
resources :topics, except: [:index, :new, :edit] do
|
||||||
get :autocomplete_topic
|
|
||||||
member do
|
member do
|
||||||
get :network
|
get :network
|
||||||
get :relative_numbers
|
get :relative_numbers
|
||||||
get :relatives
|
get :relatives
|
||||||
end
|
end
|
||||||
|
collection do
|
||||||
|
get :autocomplete_topic
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
resources :users, except: [:index, :destroy] do
|
resources :users, except: [:index, :destroy] do
|
||||||
|
|
Loading…
Reference in a new issue