correction model

This commit is contained in:
Cassandre Cantet 2018-10-15 23:42:47 +02:00
parent 11f17dee47
commit 71a89a5a05
1 changed files with 2 additions and 4 deletions

View File

@ -26,10 +26,8 @@ class Image extends Model
public $fillable = [ public $fillable = [
'filename', 'filename',
'content', 'created_at',
'position', 'updated_at'
'created',
'updated'
]; ];
protected $dates = ['created_at', 'updated_at']; protected $dates = ['created_at', 'updated_at'];
protected $appends = ['url']; protected $appends = ['url'];