feat: update tour controller and debug

This commit is contained in:
2026-08-18 14:27:40 +03:30
parent 91702f30cd
commit c98277c10b
2 changed files with 17 additions and 2 deletions
+6
View File
@@ -78,4 +78,10 @@ class Tour extends Model
{
return $this->morphMany(Favorite::class, 'favoritable');
}
public function comments()
{
return $this->morphMany(Comment::class, 'commentable');
}
}