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

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

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