开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜