aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source
diff options
context:
space:
mode:
authorJames Miller <bensie@gmail.com>2010-08-26 10:00:11 -0700
committerJames Miller <bensie@gmail.com>2010-08-26 10:00:11 -0700
commita88fb2fd1b2521c3bed02d97805ae7a83eb975df (patch)
tree833cd70e9abdcccaddeb7ab51afb69a757ba34b1 /railties/guides/source
parent8e3d23dea207ebe531de7a1ad9ad9151c3936894 (diff)
downloadrails-a88fb2fd1b2521c3bed02d97805ae7a83eb975df.tar.gz
rails-a88fb2fd1b2521c3bed02d97805ae7a83eb975df.tar.bz2
rails-a88fb2fd1b2521c3bed02d97805ae7a83eb975df.zip
Getting started guide: typo
Diffstat (limited to 'railties/guides/source')
-rw-r--r--railties/guides/source/getting_started.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile
index dfc31a0f34..dc60377e34 100644
--- a/railties/guides/source/getting_started.textile
+++ b/railties/guides/source/getting_started.textile
@@ -320,7 +320,7 @@ $ rm public/index.html
We need to do this as Rails will deliver any static file in the +public+ directory in preference to any dynamic contact we generate from the controllers.
-Now, you have to tell Rails where your actual home page is located. Open the file +config/routes.rb+ in your editor. This is your application's _routing file_ which holds entries in a special DSL (domain-specific language) that tells Rails how to connect incoming requests to controllers and actions. This file contains many sample routes on commented lines, and one of them actually shows you how to connect the root of your site to a specific controller and action. Find the line beginning with +:root to+, uncomment it and change it like the following:
+Now, you have to tell Rails where your actual home page is located. Open the file +config/routes.rb+ in your editor. This is your application's _routing file_ which holds entries in a special DSL (domain-specific language) that tells Rails how to connect incoming requests to controllers and actions. This file contains many sample routes on commented lines, and one of them actually shows you how to connect the root of your site to a specific controller and action. Find the line beginning with +root :to+, uncomment it and change it like the following:
<ruby>
Blog::Application.routes.draw do