feat: update tour controller and debug
This commit is contained in:
@@ -78,4 +78,10 @@ class Tour extends Model
|
||||
{
|
||||
return $this->morphMany(Favorite::class, 'favoritable');
|
||||
}
|
||||
|
||||
|
||||
public function comments()
|
||||
{
|
||||
return $this->morphMany(Comment::class, 'commentable');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user