Skip to content
This repository was archived by the owner on Jul 15, 2021. It is now read-only.

Commit 0e72086

Browse files
authored
Merge pull request #50 from mohammad6006/patch-1
use CanComment
2 parents 9352412 + 901d8d0 commit 0e72086

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ Add `CanComment` trait to your User model.
4646

4747
``` php
4848
use Actuallymab\LaravelComment\CanComment;
49+
50+
class User extends Model
51+
{
52+
use CanComment;
53+
54+
// ...
55+
}
56+
4957
```
5058

5159
Add `Commentable` interface and `HasComments` trait to your commentable model(s).

0 commit comments

Comments
 (0)