From 81ed543c6f13129032df6e6dbca78492c91c73d8 Mon Sep 17 00:00:00 2001 From: kishorekumarxyz <83898279+kishorekumarxyz@users.noreply.github.com> Date: Sat, 28 Aug 2021 23:05:10 +0530 Subject: [PATCH] fixed a typo: ' instead of ` (#5377) Co-authored-by: Christoph Schweppe --- docs/core-concepts/roles-and-permissions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`); }); ```