From 00b7b36516d1d07300870029ad5190f06122a493 Mon Sep 17 00:00:00 2001 From: Azul Date: Wed, 10 Oct 2012 19:56:35 +0200 Subject: first steps at reducing core --- config/routes.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'config/routes.rb') diff --git a/config/routes.rb b/config/routes.rb index ca8d753..3b29251 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,6 @@ LeapWeb::Application.routes.draw do + root :to => "home#index" + # The priority is based upon order of creation: # first created -> highest priority. @@ -46,10 +48,6 @@ LeapWeb::Application.routes.draw do # resources :products # end - # You can have the root of your site routed with "root" - # just remember to delete public/index.html. - # root :to => 'welcome#index' - # See how all your routes lay out with "rake routes" # This is a legacy wild controller route that's not recommended for RESTful applications. -- cgit v1.2.3