Re: [symfony-users][Symfony2]Multiple routes in annotations

2011-03-26 Thread Fabien Potencier
On 3/26/11 5:55 PM, georg wrote: Hi, has this been solved or has a solution been found? I'm also very interested in achieving the same thing as Mark. /** * @extra:Routes({ * @extra:Route("/index"), * @extra:Route("/index.{_format}") * }) */ public function indexAction() { return a

Re: [symfony-users][Symfony2]Multiple routes in annotations

2011-03-26 Thread georg
Hi, has this been solved or has a solution been found? I'm also very interested in achieving the same thing as Mark. thanks georg -- 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 t

[symfony-users][Symfony2]Multiple routes in annotations

2011-03-16 Thread Mark C
Hi, With annotations, is it possible to set up multiple routes for a controller without having to set up multiple controllers? At the moment I am doing: /**  * @extra:Route("/index")  * @extra:Template()  */ public function indexAction() {