diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-05-14 15:17:59 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-05-14 15:17:59 +0530 |
commit | 8ef67de03409d0d21e42605e063e501d3ee764cf (patch) | |
tree | e8562745d38004c69aea28d573f87dd3ac0cb31b /guides | |
parent | d7c4d0c772e3ab91b9a564b3a6cb2d3f7d8b9833 (diff) | |
download | rails-8ef67de03409d0d21e42605e063e501d3ee764cf.tar.gz rails-8ef67de03409d0d21e42605e063e501d3ee764cf.tar.bz2 rails-8ef67de03409d0d21e42605e063e501d3ee764cf.zip |
fix format in getting started guide [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/getting_started.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/getting_started.textile b/guides/source/getting_started.textile index 84c438e607..e89602218e 100644 --- a/guides/source/getting_started.textile +++ b/guides/source/getting_started.textile @@ -193,7 +193,7 @@ Now that we have made the controller and view, we need to tell Rails when we wan To fix this, delete the +index.html+ file located inside the +public+ directory of the application. -You need to do this because Rails will serve any static file in the +public+ directory that matches a route in preference to any dynamic content you generate from the controllers. The +index.html+ file is special: it will be served if a request comes in at the root route, e.g. http://localhost:3000. If another request such as http://localhost:3000/welcome happened, a static file at <filename>public/welcome.html</filename> would be served first, but only if it existed. +You need to do this because Rails will serve any static file in the +public+ directory that matches a route in preference to any dynamic content you generate from the controllers. The +index.html+ file is special: it will be served if a request comes in at the root route, e.g. http://localhost:3000. If another request such as http://localhost:3000/welcome happened, a static file at <tt>public/welcome.html</tt> would be served first, but only if it existed. Next, you have to tell Rails where your actual home page is located. |