Hi,
I have an action in my module/controller,
and I use registerCssFile() in it.
Here is my code,
public function actionIndex()
{
$baseUrl = $this->module->assetsUrl;
$cs = Yii::app()->getClientScript();
$cs->registerCssFile($baseUrl.'/css/blog.css');
$this->render('index');
}
but it is not loading my css file(correctly),
It is loading link like this
<link rel="stylesheet" type="text/css" href="/domain.com/assets/9a6a3f33/css/blog.css" />
when I tried to go to the link, it gives me error:
Unable to resolve the request
Any idea?