aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/form_helpers.textile
diff options
context:
space:
mode:
authorAditya Sanghi <asanghi@me.com>2010-10-17 02:09:47 +0530
committerAditya Sanghi <asanghi@me.com>2010-10-17 02:09:47 +0530
commit5a36f9f89d7ea58c36b486411fc887f9fe6dfc63 (patch)
treed89eece0f72931a5c1c92d46e31916ef7b85618b /railties/guides/source/form_helpers.textile
parent40398a1f47e4fd83c4b5c4346c8ba9685bb0bd2d (diff)
parenta38e653a6d512de3d22137cebc239d51f2513502 (diff)
downloadrails-5a36f9f89d7ea58c36b486411fc887f9fe6dfc63.tar.gz
rails-5a36f9f89d7ea58c36b486411fc887f9fe6dfc63.tar.bz2
rails-5a36f9f89d7ea58c36b486411fc887f9fe6dfc63.zip
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'railties/guides/source/form_helpers.textile')
-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: