aboutsummaryrefslogtreecommitdiffstats
path: root/guides/code/getting_started/config
diff options
context:
space:
mode:
Diffstat (limited to 'guides/code/getting_started/config')
-rw-r--r--guides/code/getting_started/config/routes.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/guides/code/getting_started/config/routes.rb b/guides/code/getting_started/config/routes.rb
index 7210b559bb..10009a35cf 100644
--- a/guides/code/getting_started/config/routes.rb
+++ b/guides/code/getting_started/config/routes.rb
@@ -3,6 +3,7 @@ Blog::Application.routes.draw do
# resources :comments
# end
+ get "posts" => "posts#index"
get "posts/new"
post "posts/create"
get "posts/:id" => "posts#show"
@@ -56,7 +57,7 @@ Blog::Application.routes.draw do
# You can have the root of your site routed with "root"
# just remember to delete public/index.html.
- root :to => "home#index"
+ root :to => "welcome#index"
# See how all your routes lay out with "rake routes"