From 0da0aa4cd9fc5f9d02a6afd78115551b4485dcb9 Mon Sep 17 00:00:00 2001 From: Rajinder Yadav Date: Sun, 3 Oct 2010 20:41:56 -0400 Subject: corrected wording for better reading, fixed ugly intented quote by using code tags --- railties/guides/source/form_helpers.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/guides/source/form_helpers.textile') 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 %> -TIP: +search_path+ can be a named route specified in "routes.rb":
map.search "search", :controller => "search" +TIP: +search_path+ can be a named route specified in "routes.rb" as:
match "search" => "search"This declares for path "/search" to call action "search" from controller "search". The above view code will result in the following markup: -- cgit v1.2.3