aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2009-04-03 23:32:48 +0200
committerXavier Noria <fxn@hashref.com>2009-04-03 23:32:48 +0200
commit9e9469e83f6144310115124cdecc5cb65db5128e (patch)
tree52ca8a3e273459265229eaa1abff4b5b4543dde9 /railties/guides/source
parenta7e757f8af81cf60658d944bf7611a563699b6c6 (diff)
parentc910c45b9d70d13b4e1e9c81d88dcd935fa4873b (diff)
downloadrails-9e9469e83f6144310115124cdecc5cb65db5128e.tar.gz
rails-9e9469e83f6144310115124cdecc5cb65db5128e.tar.bz2
rails-9e9469e83f6144310115124cdecc5cb65db5128e.zip
Merge branch 'master' of git@github.com:lifo/docrails
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 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>