makes debates/index the root url
This commit is contained in:
@@ -5,7 +5,7 @@ Rails.application.routes.draw do
|
||||
# See how all your routes lay out with "rake routes".
|
||||
|
||||
# You can have the root of your site routed with "root"
|
||||
root 'welcome#index'
|
||||
root 'debates#index'
|
||||
resources :debates do
|
||||
resources :votes, only: :create
|
||||
resources :comments, only: :create
|
||||
|
||||
Reference in New Issue
Block a user