Remove API from routes
This commit is contained in:
parent
98395a4fbe
commit
e930e51f48
|
@ -1,13 +1,5 @@
|
||||||
Rails.application.routes.draw do
|
Rails.application.routes.draw do
|
||||||
resources :talk_preferences, only: [:index, :show, :create, :update]
|
resources :talk_preferences, only: [:index, :show, :create, :update]
|
||||||
root to: 'home#index'
|
root to: 'home#index'
|
||||||
get 'ratings' => 'home#ratings'
|
|
||||||
get 'export' => 'home#export'
|
|
||||||
get 'summary' => 'home#summary'
|
|
||||||
resources :conflicts do
|
|
||||||
collection do
|
|
||||||
get 'pivot'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
|
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue