Skip to content

Commit 75664e8

Browse files
authored
Merge pull request #61 from mberhorst/patch-1
Update readme.md
2 parents 0e3cb4f + 571caa3 commit 75664e8

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

readme.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,17 @@ $table->actions([
8989
]);
9090
```
9191

92+
### Adjust your model to log activities
93+
94+
```php
95+
class Order extends Model
96+
{
97+
use LogsActivity;
98+
}
99+
```
100+
101+
See https://spatie.be/docs/laravel-activitylog/v4/advanced-usage/logging-model-events for more information on the topic.
102+
92103
## Contributing
93104

94105
If you want to contribute to this packages, you may want to test it in a real Filament project:

0 commit comments

Comments
 (0)