X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/packbundle/blobdiff_plain/bb11546ae005add2bdf1865f764b46ee8fa234e6..841a8835e903a514e2e44706bf4974f3cc21104b:/Twig/PackExtension.php 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';