Skip to content

Commit df39979

Browse files
authored
Fix: wildcard_permission example includes permission. prefix
In the `permission.php` template file, the example in the comments for how to override the `WildcardPermission` class incorrectly uses `permission.wildcard_permission` as the key instead of just `wildcard_permission`.
1 parent cc264a1 commit df39979

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/permission.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
* The class to use for interpreting wildcard permissions.
173173
* If you need to modify delimiters, override the class and specify its name here.
174174
*/
175-
// 'permission.wildcard_permission' => Spatie\Permission\WildcardPermission::class,
175+
// 'wildcard_permission' => Spatie\Permission\WildcardPermission::class,
176176

177177
/* Cache-specific settings */
178178

0 commit comments

Comments
 (0)