aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2013-02-25 20:03:08 -0800
committerGuillermo Iguaran <guilleiguaran@gmail.com>2013-02-25 20:03:08 -0800
commit30859a0bfda5608e1b8ed340a0c4e8574fa609b8 (patch)
tree88f78d46e5e071ebd35911fbe0af2b29ef5e2765 /guides
parent670a2673946e2f933ff1c16699637958ef84c831 (diff)
parent33d92bf69ec5e6f385612b69a6295f5a80332ef8 (diff)
downloadrails-30859a0bfda5608e1b8ed340a0c4e8574fa609b8.tar.gz
rails-30859a0bfda5608e1b8ed340a0c4e8574fa609b8.tar.bz2
rails-30859a0bfda5608e1b8ed340a0c4e8574fa609b8.zip
Merge pull request #9419 from banyan/change-default-root-route-helper
Change default root route helper
Diffstat (limited to 'guides')
-rw-r--r--guides/code/getting_started/config/routes.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/code/getting_started/config/routes.rb b/guides/code/getting_started/config/routes.rb
index 9950568629..0155b613a3 100644
--- a/guides/code/getting_started/config/routes.rb
+++ b/guides/code/getting_started/config/routes.rb
@@ -2,6 +2,6 @@ Blog::Application.routes.draw do
resources :posts do
resources :comments
end
-
- root to: "welcome#index"
+
+ root "welcome#index"
end