Hi! Maybe you could make a route like /:module with default execute method, e. g. index. Then you could have your category module with the index method where you list the articles of this category. And your "projects" module's index method lists your projects.
Then you only have to create the /:catslug/:articleslug route. -----Ursprüngliche Nachricht----- Von: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Im Auftrag von Tobias Sjösten Gesendet: Samstag, 9. Oktober 2010 23:09 An: symfony users Betreff: [symfony-users] Routing with fallthrough I'm building a blog kind of site and for my posts I want the URL syntax "/<category>/<title-of-the-post>" and the categories should be reachable at "/<category>". These are served through my 'article' and 'category' modules. Now say I want to add something like a projects gallery, where I show my various projects at "/<project-name>". Obviously I want to serve them from a 'project' module. How would I do that? The problem I'm running into is that a matching route halts the route parsing. But maybe there's a way to return, from a custom routing class, into the routing.yml parser? -- 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 Eingehende eMail ist virenfrei. Von AVG überprüft - www.avg.de Version: 9.0.862 / Virendatenbank: 271.1.1/3187 - Ausgabedatum: 10/09/10 20:34:00 -- 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