Permalink
Browse files

Fixed incorrect instructions for calling the `rails` command explicit…

…ely in the "Getting Started" guide
  • Loading branch information...
1 parent e2c2c29 commit 8031b7e42ba1b4d3e671e6ed52ffca890da160b0 @karmi karmi committed Dec 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/getting_started.textile
View
2 railties/guides/source/getting_started.textile
@@ -300,7 +300,7 @@ To get Rails saying "Hello", you need to create at minimum a controller and a vi
$ rails generate controller home index
</shell>
-TIP: If you're on Windows, or your Ruby is set up in some non-standard fashion, you may need to explicitly pass Rails +rails+ commands to Ruby: +ruby \path\to\rails controller home index+.
+TIP: If you're on Windows, or your Ruby is set up in some non-standard fashion, you may need to explicitly pass Rails +rails+ commands to Ruby: <tt>ruby \path\to\your\application\script\rails generate controller home index</tt>.
Rails will create several files for you, including +app/views/home/index.html.erb+. This is the template that will be used to display the results of the +index+ action (method) in the +home+ controller. Open this file in your text editor and edit it to contain a single line of code:

0 comments on commit 8031b7e

Please sign in to comment.