Skip to content

Commit 1417515

Browse files
committed
minor fix
1 parent ea593a6 commit 1417515

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/Timeslot.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ class Timeslot extends Model
3535
*/
3636
protected $hidden = ['pivot', 'calendar'];
3737

38+
/**
39+
* @var array
40+
*/
41+
protected $touches = ['calendar'];
42+
3843
/**
3944
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
4045
*/

0 commit comments

Comments
 (0)