diff --git a/config/routes.rb b/config/routes.rb index a527a7ad5..f60f0922b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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