Commit 9b03f7b4 authored by thomas craipeau's avatar thomas craipeau
Browse files

remove setComponents module

parent de87a75f
......@@ -59,11 +59,6 @@ class NewsModule extends \yii\base\Module {
// this method is called when the module is being created
// you may place code here to customize the module or the application
Yii::app()->setComponents(array(
'errorHandler'=>array(
'errorAction'=>'/'.$this->id.'/error'
)
));
Yii::app()->homeUrl = Yii::app()->createUrl($this->id);
......
Supports Markdown
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