Check out the routes documentation. If I understand your correctly, you would need to add a route like
computers: url: /computes/:page/* the use link_to('Page 8','@computers?page=8&q=blah') That should give you the link you need. Haven't looked up the info, but that should point you in the right direction. - Joshua Estes -= Contact Me =- Google Voice: 567-482-0034 or JOSHUA-0034 Cell: 423-432-7562 -= Web Sites =- http://www.ScenicCityLabs.com - Making the internet pretty! -= Twitter =- @JoshuaEstes @ScenicCityLabs On Tue, Aug 3, 2010 at 9:01 AM, RaV <inad...@gmail.com> wrote: > Hi again, > > is there any possibility to add const suffix to all of links on my page? > For example i have link like this: > > http://myapp/1,computers?q=search_text , where 1 means the first page > > and.. while i'm using link_to in template to build links for change sort > order or order column or something like this, i have to add suffix > "?q=".$search_text. > > Is there any possibility to add it automatically? > > Rafał Bednarz > > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en