From 2bd2ceaf592eea5ea1608ff7688904cedf5935da Mon Sep 17 00:00:00 2001 From: rgarcia Date: Sat, 18 Jul 2015 21:28:38 +0200 Subject: [PATCH] makes debates/index the root url --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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