[symfony-users] Re: Tweaking generated routes with the admin generator

2009-08-26 Thread Marc
I already gave a small answer on twitter but I repost here... If I correctly understand the problem you have: You can add custom parameters (ex: myParameter) to routes as long as there is a method in your model named (in this case) getMyParameter(). Please tell me if it does fix your problem

[symfony-users] Re: Tweaking generated routes with the admin generator

2009-08-26 Thread Marc
I just checked in other projects and I figured that I override the generated route with a custom one... It's a bit messy but it works. I got it to work in frontend using normal modules. Hope it works with generated admin modules. -- board: class: sfDoctrineRouteCollection

[symfony-users] Re: Tweaking generated routes with the admin generator

2009-08-26 Thread Thomas Rabaix
Just add a custom method into the model as Marc suggest ! (well I hope the admin gen use sfDoctrineRoute behind the scene) On Wed, Aug 26, 2009 at 3:10 PM, Marc mweistr...@uneviemoinschere.comwrote: I just checked in other projects and I figured that I override the generated route with a