Add comments to Hentai
This commit is contained in:
@@ -36,6 +36,11 @@ class Hentai extends Model implements Sitemapable
|
||||
return $this->episodes->first()->title;
|
||||
}
|
||||
|
||||
public function comments()
|
||||
{
|
||||
return $this->morphMany(Comment::class, 'commentable');
|
||||
}
|
||||
|
||||
/**
|
||||
* Has a Gallery.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user