aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorNathan Lloyd Smith <nlloyds@gmail.com>2009-04-03 13:44:09 -0500
committerNathan Lloyd Smith <nlloyds@gmail.com>2009-04-03 13:44:09 -0500
commitc910c45b9d70d13b4e1e9c81d88dcd935fa4873b (patch)
tree0f500b9c43ac3d9c1eaf6e492f1f0b10cda3f49c /railties
parent9488d583eea3b1301761afc5229c6d2e8caffd0d (diff)
downloadrails-c910c45b9d70d13b4e1e9c81d88dcd935fa4873b.tar.gz
rails-c910c45b9d70d13b4e1e9c81d88dcd935fa4873b.tar.bz2
rails-c910c45b9d70d13b4e1e9c81d88dcd935fa4873b.zip
Typo fix
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 f0a43c09b7..a216201490 100644
--- a/railties/guides/source/getting_started.textile
+++ b/railties/guides/source/getting_started.textile
@@ -474,7 +474,7 @@ This code sets the +@posts+ instance variable to an array of all posts in the da
TIP: For more information on finding records with Active Record, see "Active Record Query Interface":active_record_querying.html.
-The +respond_to+ block handles both HTML and XML calls to this action. If you browse to +http://localhost:3000/posts.xml+, you'll see all of the posts in XML format. The HTML format looks for a view in +app/views/posts/+ with a name that corresponds to the action name. Rails makes all of the instance variables from the action available to the view. Here's +app/view/posts/index.html.erb+:
+The +respond_to+ block handles both HTML and XML calls to this action. If you browse to +http://localhost:3000/posts.xml+, you'll see all of the posts in XML format. The HTML format looks for a view in +app/views/posts/+ with a name that corresponds to the action name. Rails makes all of the instance variables from the action available to the view. Here's +app/views/posts/index.html.erb+:
<erb>
<h1>Listing posts</h1>