aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorRajinder Yadav <devguy.ca@gmail.com>2010-10-03 20:41:56 -0400
committerRajinder Yadav <devguy.ca@gmail.com>2010-10-03 20:41:56 -0400
commit0da0aa4cd9fc5f9d02a6afd78115551b4485dcb9 (patch)
treeced072adba968598d063120e023621530668ae32 /railties
parent66559107e15dbbff8af0542c9107a4413f3769ea (diff)
downloadrails-0da0aa4cd9fc5f9d02a6afd78115551b4485dcb9.tar.gz
rails-0da0aa4cd9fc5f9d02a6afd78115551b4485dcb9.tar.bz2
rails-0da0aa4cd9fc5f9d02a6afd78115551b4485dcb9.zip
corrected wording for better reading, fixed ugly intented quote by using code tags
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/form_helpers.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/form_helpers.textile b/railties/guides/source/form_helpers.textile
index ce0f66b2c1..b795d126e6 100644
--- a/railties/guides/source/form_helpers.textile
+++ b/railties/guides/source/form_helpers.textile
@@ -67,7 +67,7 @@ A basic search form
<% end %>
</html>
-TIP: +search_path+ can be a named route specified in "routes.rb": <br /><tt>map.search "search", :controller => "search"</tt>
+TIP: +search_path+ can be a named route specified in "routes.rb" as: <br /><code>match "search" => "search"</code>This declares for path "/search" to call action "search" from controller "search".
The above view code will result in the following markup: