diff --git a/app/Collection.php b/app/Collection.php index 0905f2717..7be40f726 100644 --- a/app/Collection.php +++ b/app/Collection.php @@ -19,6 +19,8 @@ class Collection extends Model public $fillable = ['profile_id', 'published_at']; + public $dates = ['published_at']; + public function profile() { return $this->belongsTo(Profile::class);