diff --git a/src/Symfony/Component/Templating/TemplateReference.php b/src/Symfony/Component/Templating/TemplateReference.php index 3477f088ff245..0cd0dff039d81 100644 --- a/src/Symfony/Component/Templating/TemplateReference.php +++ b/src/Symfony/Component/Templating/TemplateReference.php @@ -75,7 +75,7 @@ public function all() */ public function getPath() { - return $this->parameters['name']; + return 'views/'.$this->parameters['name']; } /**