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

2011-03-28 Thread Mark C
Awesome thanks Fabien, just saw that on github. On Mar 26, 5:52 pm, Fabien Potencier wrote: > 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({ >   *  

[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() {

[symfony-users] [symphony-users][Symfony2] Where to register a custom format

2011-03-11 Thread Mark C
Hello all, I am using the .{_format} parameter in my route and want to register jsonp with the same mime-type as json: array('application/json', 'application/x-json'), I know I can do the following in every controller: $request = Request::createFr

[symfony-users] Re: [symfony2][pr7]REST bundle XML error

2011-03-09 Thread Mark C
/services http://symfony.com/schema/dic/services/services-1.0.xsd";> I imagine this will be a problem with most bundles that haven't been updated. Cheers On Mar 8, 10:26 pm, Mark C wrote: > I'm trying to use EverzetRestfulControllersBundle, using the updated fork by > s