fix post timestamp

parent 35de5907
......@@ -79,6 +79,9 @@ class Post extends \common\components\ActiveRecordModel
'tags' => [
'class' => 'common\modules\blog\components\TagBehavior',
],
'Timestamp' => [
'class' => '\yii\behaviors\TimestampBehavior',
],
'file' => [
'class' => 'common\components\activeRecordBehaviors\FileUploadBehavior',
'path' => '@frontend/web',
......
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