Commit 7968ef200dcf7ec42e6bc9211e20675deb2b53c3
1 parent
3f7185f2
test
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
common/models/Portfolio.php
@@ -131,6 +131,7 @@ | @@ -131,6 +131,7 @@ | ||
131 | 'cover' => Yii::t('app', 'Фото главное'), | 131 | 'cover' => Yii::t('app', 'Фото главное'), |
132 | 'gallery_id' => Yii::t('app', 'Фото галерея'), | 132 | 'gallery_id' => Yii::t('app', 'Фото галерея'), |
133 | 'specializationString' => Yii::t('app', 'Специализации'), | 133 | 'specializationString' => Yii::t('app', 'Специализации'), |
134 | + 'preview' => Yii::t('app', 'Описание кратко'), | ||
134 | ]; | 135 | ]; |
135 | } | 136 | } |
136 | 137 | ||
@@ -180,6 +181,6 @@ | @@ -180,6 +181,6 @@ | ||
180 | 181 | ||
181 | public function getGallery() | 182 | public function getGallery() |
182 | { | 183 | { |
183 | - return $this->hasOne(Gallery::className(), ['gallery_id' => 'gallery_id']); | 184 | + return $this->hasOne(Gallery::className(), [ 'gallery_id' => 'gallery_id' ]); |
184 | } | 185 | } |
185 | } | 186 | } |