X-Git-Url: https://git.rapsys.eu/packbundle/blobdiff_plain/c6a6f1167057fb157093cd414eaf498e9a67040f..5ee696001dcaf768969f0b9f0af1c703218678cc:/Twig/PackExtension.php?ds=inline diff --git a/Twig/PackExtension.php b/Twig/PackExtension.php index 5ce4ed6..ee84c47 100644 --- a/Twig/PackExtension.php +++ b/Twig/PackExtension.php @@ -17,7 +17,8 @@ class PackExtension extends \Twig_Extension { $this->assetsPackages = $assetsPackages; //Set default prefix - $this->prefix = '@RapsysPackBundle/Resources/public/'; + //XXX: require symfony 3.3 + $this->prefix = $this->containerInterface->getParameter('kernel.project_dir').'/web/'; //Set default coutput $this->coutput = 'css/*.pack.css';