X-Git-Url: https://git.rapsys.eu/packbundle/blobdiff_plain/bb11546ae005add2bdf1865f764b46ee8fa234e6..e558fbb8ca84a4013182f56a30b83f6bcad28022:/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';