public function actionAccount() { return parent::actionAccount(); }
/** @inheritdoc */ public function behaviors() { return array_merge_recursive(parent::behaviors(), ['access' => ['rules' => [['allow' => true, 'actions' => ['profile-image-upload'], 'roles' => ['@']]]]]); }
/** * @inheritdoc */ public function behaviors() { $behaviors = parent::behaviors(); array_push($behaviors['access']['rules'][0]['actions'], "avatar"); return $behaviors; }