neilime/zf2-assets-bundle

Assets not rendering in view

Roywcm opened this issue · 1 comments

Hello,

I've included your module in my project. It's caching al files correctly.
I've added <?php echo $this->headScript(); ?> in the head and <?php echo $this->inlineScript() ?> just before </body>

But, the assets are not displaying in my view?

'asset_bundle' => array(
        'assetsPath' => '@zfRootPath/public/frontend',
        'cachePath' => '@zfRootPath/public/frontend/cache',
        'assets' => array(
            'css' => array('css/style.css'), //Define css files to include
            'media' => array('img','fonts'), //Define images to manage
        )
    ),

Allright, it has to be <?php echo $this->headLink(); ?> instead of <?php echo $this->headScript(); ?>