mirror of
https://github.com/wearepixel/laravel-comments.git
synced 2026-11-14 22:12:35 +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
|
``` php
|
||||||
namespace App\Models;
|
namespace App\Models;
|
||||||
|
|
||||||
use Beyondcode\Comments\HasComments;
|
|
||||||
use Illuminate\Database\Eloquent\Model;
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
use BeyondCode\Comments\Traits\HasComments;
|
||||||
|
|
||||||
class Post extends Model
|
class Post extends Model
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user