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

Commit 901d8d0

Browse files
authored
use CanComment
1 parent 9352412 commit 901d8d0

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)