Skip to content

Commit

Permalink
After refresh action added (Yii 2.0.8+)
Browse files Browse the repository at this point in the history
  • Loading branch information
baibaratsky committed Aug 18, 2016
1 parent 86e5e90 commit f4a956d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions SerializedAttributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public function events()
BaseActiveRecord::EVENT_AFTER_INSERT => 'deserializeAttributes',
BaseActiveRecord::EVENT_AFTER_UPDATE => 'deserializeAttributes',
BaseActiveRecord::EVENT_AFTER_FIND => 'deserializeAttributes',
BaseActiveRecord::EVENT_AFTER_REFRESH => 'deserializeAttributes',
];
}

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
],
"require": {
"yiisoft/yii2": "*"
"yiisoft/yii2": "~2.0.8"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit f4a956d

Please sign in to comment.