Laravel-Log-Viewer icon indicating copy to clipboard operation
Laravel-Log-Viewer copied to clipboard

wrong usage of assets

Open karelv opened this issue 12 years ago • 0 comments

My app is not in the root off the website. and the style.css is not loading since the path to it is not correct... Therefore I replaced in your view file ' viewer.php'

    <link href="<?php echo Bundle::assets('logviewer'); ?>style.css?1" rel="stylesheet" type="text/css">

into

    <?php 
    $assets = Asset::container('container')->bundle('logviewer');
    $assets->add('style','style.css');
    echo $assets->styles();
    ?>

Could you apply such change?

Thanks for the bundle. Bye, Karel.

karelv avatar Sep 15 '12 19:09 karelv