aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Bigg <radarlistener@gmail.com>2012-05-14 06:54:40 +1000
committerRyan Bigg <radarlistener@gmail.com>2012-05-14 06:54:53 +1000
commit9e4fd33ae8860388cff54af44ee07f19a09ba9f6 (patch)
tree1e04bc19ab3c7979ef192f9ecfdd1f9debe5e7b1
parente6e6f4ef8675ea001801362b42cdabb13801da67 (diff)
downloadrails-9e4fd33ae8860388cff54af44ee07f19a09ba9f6.tar.gz
rails-9e4fd33ae8860388cff54af44ee07f19a09ba9f6.tar.bz2
rails-9e4fd33ae8860388cff54af44ee07f19a09ba9f6.zip
Re-enforce/re-explain what happens when you go to root route (Welcome#index) better
-rw-r--r--guides/source/getting_started.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/getting_started.textile b/guides/source/getting_started.textile
index bdd385918f..a689cf1c3b 100644
--- a/guides/source/getting_started.textile
+++ b/guides/source/getting_started.textile
@@ -210,7 +210,7 @@ Blog::Application.routes.draw do
The +root :to => "welcome#index"+ tells Rails to map requests to the root of the application to the welcome controller's index action. This was created earlier when you ran the controller generator (+rails generate controller welcome index+).
-If you navigate to "http://localhost:3000":http://localhost:3000 in your browser, you'll see +Hello, Rails!+.
+If you navigate to "http://localhost:3000":http://localhost:3000 in your browser, you'll see the +Hello, Rails!+ message you put into +app/views/welcome/index.html.erb+, indicating that this new route is indeed going to +WelcomeController+'s +index+ action and is rendering the view correctly.
NOTE. For more information about routing, refer to "Rails Routing from the Outside In":routing.html.