Skip to content

Commit

Permalink
Added deleted_at to read only columns
Browse files Browse the repository at this point in the history
  • Loading branch information
ablunier authored Oct 27, 2016
1 parent ebb1252 commit a15e691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Abstractor/Eloquent/Relation/MiniCrud.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function getEditFieldsBase()
$this->readConfig('edit');

if (!empty($columns)) {
$readOnly = [Model::CREATED_AT, Model::UPDATED_AT];
$readOnly = [Model::CREATED_AT, Model::UPDATED_AT, 'deleted_at'];

//Add field for model deletion
$config = [
Expand Down

0 comments on commit a15e691

Please sign in to comment.