Browse files

corrected wording for better reading, fixed ugly intented quote by us…

…ing code tags
  • Loading branch information...
rajinder-yadav committed Oct 4, 2010
1 parent 6655910 commit 0da0aa4cd9fc5f9d02a6afd78115551b4485dcb9
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/form_helpers.textile
@@ -67,7 +67,7 @@ A basic search form
<% end %>
-TIP: +search_path+ can be a named route specified in "routes.rb": <br /><tt> "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:

0 comments on commit 0da0aa4

Please sign in to comment.