hi i am having a search option in my application.after the search url is
going as /search?query=linux.
I want to achieve it as /search/linux using routes.rb
i am giving it as
map.search ‘search/*query_text’,:controller => “home”,:action =>
“search”
but it is coming as search?query=linux
That should be because you haven’t modified the name property of you
text
field.
On Thu, Sep 25, 2008 at 10:39 AM, Lost W. <
[email protected]> wrote:
but it is coming as search?query=linux
Posted via http://www.ruby-forum.com/.
–
ANDRES RODRIGUEZ E
Electronic Engineer
Software Developer
IT Consultant
US Phone: (305) 853-8356
Primary Mobile: +57-300-2006186
Secondary Mobile: +57-314-7939859