diff options
Diffstat (limited to 'core/Twig.php')
-rw-r--r-- | core/Twig.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Twig.php b/core/Twig.php index 69a6501d90..3f15148985 100644 --- a/core/Twig.php +++ b/core/Twig.php @@ -104,9 +104,9 @@ class Twig $assetType = strtolower($params['type']); switch ($assetType) { case 'css': - return AssetManager::getCssAssets(); + return AssetManager::getInstance()->getCssInclusionDirective(); case 'js': - return AssetManager::getJsAssets(); + return AssetManager::getInstance()->getJsInclusionDirective(); default: throw new Exception("The twig function includeAssets 'type' parameter needs to be either 'css' or 'js'."); } |