From 14175154b1a4c3db3d1cb2e049f599959198ec36 Mon Sep 17 00:00:00 2001 From: Claudio Cardinale Date: Thu, 7 Jan 2016 02:10:12 +0100 Subject: [PATCH] minor fix --- app/Timeslot.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Timeslot.php b/app/Timeslot.php index 74632d3..41e7a5d 100644 --- a/app/Timeslot.php +++ b/app/Timeslot.php @@ -35,6 +35,11 @@ class Timeslot extends Model */ protected $hidden = ['pivot', 'calendar']; + /** + * @var array + */ + protected $touches = ['calendar']; + /** * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */