From 30b24a7a239f23dee8b56be3d2f3c449b4ce7139 Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Thu, 6 Mar 2014 11:09:37 +0000 Subject: [PATCH] Syntax tweak in routes. --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index bda34ee..a7a24ca 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -103,7 +103,7 @@ DanBarberPhoto::Application.routes.draw do # match ':controller(/:action(/:id(.:format)))' # root :to => 'welcome#index' - root :to => 'home#index' + root to: 'home#index' # See how all your routes lay out with "rake routes"