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 Warrior <
rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:
>
> 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
> --
> 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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---