aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorNicholas E. May (on Enterprise) <may@greentext.net>2010-10-02 23:05:08 -0500
committerNicholas E. May (on Enterprise) <may@greentext.net>2010-10-02 23:05:08 -0500
commitbcc103367b2ad0c8f7bfabe0c4148b0cb9b19509 (patch)
tree0ea2b9129e454021905899bd73c43ac689aeb552 /railties
parentab7b99f150ade08c079fc3425e23a297ea0a3e41 (diff)
downloadrails-bcc103367b2ad0c8f7bfabe0c4148b0cb9b19509.tar.gz
rails-bcc103367b2ad0c8f7bfabe0c4148b0cb9b19509.tar.bz2
rails-bcc103367b2ad0c8f7bfabe0c4148b0cb9b19509.zip
Section 4.3, wrong word used: 'contact' => 'content'
Diffstat (limited to 'railties')
-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 ed2a4188db..44203ae4f1 100644
--- a/railties/guides/source/getting_started.textile
+++ b/railties/guides/source/getting_started.textile
@@ -316,7 +316,7 @@ The first step to doing this is to delete the default page from your application
$ rm public/index.html
</shell>
-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.
+We need to do this as Rails will deliver any static file in the +public+ directory in preference to any dynamic content 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: