diff --git a/docs/core-concepts/roles-and-permissions.md b/docs/core-concepts/roles-and-permissions.md index f94dbd1292..6971acd789 100644 --- a/docs/core-concepts/roles-and-permissions.md +++ b/docs/core-concepts/roles-and-permissions.md @@ -55,7 +55,7 @@ Check the permission for each role that you wish to grant access to the site at You may create your own [gate](https://laravel.com/docs/authorization#gates) ```php -Gate::define(`browse_create_bill`, function ($user) { +Gate::define('browse_create_bill', function ($user) { return $user->hasPermission(`browse_create_bill`); }); ```