Commit 0c3455d2 authored by Raph El's avatar Raph El
Browse files

Merge branch 'master' into notragoraV2

parents 70821866 e71853c2
......@@ -79,6 +79,10 @@ class ApiModule extends CWebModule
return false;
}
private $_assetsUrl;
public function getParentAssetsUrl()
{
return ( @Yii::app()->params["module"]["parent"] ) ? Yii::app()->getModule( Yii::app()->params["module"]["parent"] )->getAssetsUrl() : self::getAssetsUrl();
}
public function getAssetsUrl()
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment