It's not a sfPropelRoute, it has to be a request parameter. The category id is a parameter, it is a advertisement object.
On 3 nov, 14:23, Gábor Fási <[email protected]> wrote: > url: /advertisement/index/category/:id > class: sfPropelRoute > > I'll leave the rest to you :P > > On Tue, Nov 3, 2009 at 12:43, HAUSa > > <[email protected]> wrote: > > > When I use url_for('advertisement/index?category=' . $subcategory- > >>getId()), the URL output is /advertisement?category=2 > > > How can I make the URL look like /advertisement/index/category/2 ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" 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/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
