Fuelphp Asset:: error
Just testing out Fuelphp.. was wondering if anyone is aware of the issue with Asset:: call I implemented it in a template and got an error ( error view : 'url') thanks
ps: I guess i need to set Asset::add_path(??) , I tried Asset::add_path('/asse开发者_如何学JAVAts/') but that didnt do it.
Due to inaccurate documentation i had the wrong syntax from the example :
Asset::css('main.css')
the correct syntax is :
Asset::css(array('main.css'))
The documentation is actually acurate now. And Asset::css('main.css') is also supported.
精彩评论