Skip to content

Commit fd0a9f0

Browse files
committed
Updated documentation with the upgrade guide
1 parent 7df64a9 commit fd0a9f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,8 @@ Update the renderIf() function in your action classes adding a new `$view` param
216216
Some new variants have been added to the config file, if you have published the config file before, you could publish it again so you can customize the new variants, this doesn't affect anything at all since the new variants will be taken from the default config file.
217217

218218
**Remove `repository` method from your views (Optional)**
219-
If your `repository` methods are returning a query object without any query applied like `User::query()`, you can define a `protected $model = User::class;` instead, this is the default behavior now, the `repository` method is still working so you don't need to change anything if you don't want to.
219+
220+
If your `repository()` methods are returning a query object without any other query applied like `User::query()`, you can define a `protected $model = User::class;` instead, this is the default behavior now, the `repository()` method is still working so you don't need to change anything if you don't want to.
220221

221222
```php
222223
/* Before */

0 commit comments

Comments
 (0)