Wrong array name.

This commit is contained in:
James Cole 2016-01-15 22:44:17 +01:00
parent 32ed8a4d8d
commit b16149b842

View File

@ -22,7 +22,7 @@ class BudgetLimit extends Model
{ {
protected $hidden = ['amount_encrypted']; protected $hidden = ['amount_encrypted'];
protected $date = ['created_at', 'updated_at', 'startdate']; protected $dates = ['created_at', 'updated_at', 'startdate'];
/** /**
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo * @return \Illuminate\Database\Eloquent\Relations\BelongsTo