aboutsummaryrefslogtreecommitdiffstats
path: root/guides/code/getting_started/config/routes.rb
diff options
context:
space:
mode:
authorKohei Hasegawa <ameutau@gmail.com>2013-02-26 03:25:06 +0900
committerKohei Hasegawa <ameutau@gmail.com>2013-02-26 03:25:59 +0900
commit33d92bf69ec5e6f385612b69a6295f5a80332ef8 (patch)
tree5c3d0c222058d5290b735ad3102933db58c0215f /guides/code/getting_started/config/routes.rb
parentd10056087c01baa6d97059ae01834099372fe681 (diff)
downloadrails-33d92bf69ec5e6f385612b69a6295f5a80332ef8.tar.gz
rails-33d92bf69ec5e6f385612b69a6295f5a80332ef8.tar.bz2
rails-33d92bf69ec5e6f385612b69a6295f5a80332ef8.zip
Change default root route helper
Diffstat (limited to 'guides/code/getting_started/config/routes.rb')
-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