Commit 9c41dec7 authored by Shakarim Sapa's avatar Shakarim Sapa

- Добавлены экшны в поведения

parent 90883476
......@@ -65,13 +65,13 @@ class CoContent extends \common\components\ActiveRecordModel
return [
'meta' => [
'class' => 'common\components\activeRecordBehaviors\MetaTagBehavior',
'actions' => ['create', 'update', 'copy', 'createcase']
'actions' => ['create', 'update', 'copy', 'createcase', 'createproject']
],
'langs' => [
'class' => 'common\modules\languages\components\LanguageHelperBehavior',
'field' => 'content_id',
'langClass' => 'common\modules\content\models\CoContentLang',
'actions' => ['create', 'update', 'copy', 'createcase']
'actions' => ['create', 'update', 'copy', 'createcase', 'createproject']
],
'file' => [
'class' => 'common\components\activeRecordBehaviors\FileUploadBehavior',
......
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