Commit 879aac7c authored by Shakarim Sapa's avatar Shakarim Sapa

- Поставили наследование от необходимого класса;

- Добавлены обязательные методы;
parent 24344641
...@@ -2,13 +2,22 @@ ...@@ -2,13 +2,22 @@
namespace common\modules\unisender\controllers; namespace common\modules\unisender\controllers;
use yii\web\Controller; use common\components\AdminController;
/** /**
* Default controller for the `unisender` module * Default controller for the `unisender` module
*/ */
class DefaultController extends Controller class DefaultController extends AdminController
{ {
/**
* @return array|void
*/
public static function actionsTitles(){
return [
'Index' => 'Главная страница Unisender',
];
}
/** /**
* Renders the index view for the module * Renders the index view for the module
* @return string * @return string
......
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