Hi,
Is there any way i can generate url according to use input
dynamically. Now, i have a route :
map.search '/search/:word', :controller => 'words', :action =>
'search'
and then i also have a input page which just contain a text input
field and button. I want to generate URL like this "/search/:word" when i
click the button, and the :word parameter is come from the value of text
input field while user input.
How can do that? Thinks guys
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---