Commit c2887c65 authored by Raph El's avatar Raph El

Hotfix graph

parent d205fc3e
Pipeline #3261 failed with stages
in 19 seconds
......@@ -17,6 +17,11 @@ class GraphModule extends CWebModule {
Yii::getPathOfAlias($this->id.'.assets') );
return $this->_assetsUrl;
}
public function getParentAssetsUrl()
{
return ( @Yii::app()->params["module"]["parent"] ) ? Yii::app()->getModule( Yii::app()->params["module"]["parent"] )->getAssetsUrl() : $this->module->assetsUrl;
}
public function beforeControllerAction($controller, $action)
{
......@@ -66,8 +71,9 @@ class GraphModule extends CWebModule {
'citizenToolKit.models.*',
//'classifieds.models.*',
//'ressources.models.*',
'places.models.*',
'eco.models.*',
'places.models.*',
Yii::app()->params["module"]["parent"].'.models.*',
Yii::app()->params["module"]["parent"].'.components.*',
$this->id.'.models.*',
......
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