Skip to content
Browse files

Fix typo in Getting Started guide (#34)

  • Loading branch information...
1 parent 0129f00 commit 48e21793bf85263ff934409623f21975f8a8eebf @ffmike ffmike committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/doc/guides/source/getting_started_with_rails.txt
View
2 railties/doc/guides/source/getting_started_with_rails.txt
@@ -480,7 +480,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 link:../finders.html[Active Record Finders].
-The +respond_to+ block handles both HTML and XML calls to this action. If you borwse 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/view/posts/index.html.erb+:
[source, ruby]
-------------------------------------------------------

0 comments on commit 48e2179

Please sign in to comment.
Something went wrong with that request. Please try again.