mirror of
https://github.com/wearepixel/laravel-comments.git
synced 2026-11-14 14:02:04 +00:00
Update README.md
This commit is contained in:
@@ -52,8 +52,8 @@ To let your models be able to receive comments, add the `HasComments` trait to t
|
||||
``` php
|
||||
namespace App\Models;
|
||||
|
||||
use Beyondcode\Comments\HasComments;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use BeyondCode\Comments\Traits\HasComments;
|
||||
|
||||
class Post extends Model
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user