olivierdupuis-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Dec-01 18:41 UTC
Adding and modifying parameters to present url
Hello, I''m having problems creating a new link that points to the same action, with the same existing params, but that would also add a param or modify an existing one. For example, I have: http://www.mysite.com/search/results?string=ruby I''d like to be able to create a new link that adds a new param: http://www.mysite.com/search/results?string=ruby&page=2 Then modify an existing param: http://www.mysite.com/search/results?string=ruby&page=3 Any help would be appreciated. Thank you Olivier Dupuis --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---