craue/TwigExtensionsBundle — Issue #3: twig exception on forwarding
Author: skydiablo
Created: 2011-11-11 01:19:34+00:00
State: open

hiho...

my root route "/" have a controler that forwarding in some cases:

`return $this->forward('SomeOfMyBundle:Already:index');`

in this case, the default twig template from `TwigExtensionsBundle` throw an exception that "app.request.attributes.get('_route')" are empty !...

changeLanguage_blocks.html.twig -> line 2: `{{- path(app.request.attributes.get('_route'),`

so, i think here can we do a little fix ? i'm a newbe @ SF2... any ideas ?

greez & thx,
sky...