Skip to content

Commit 7a0b503

Browse files
authored
L11
1 parent 29e4983 commit 7a0b503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/basic-usage/new-app.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ php artisan migrate:fresh --seed --seeder=PermissionsDemoSeeder
130130
Super-Admins are a common feature. The following approach allows that when your Super-Admin user is logged in, all permission-checks in your app which call `can()` or `@can()` will return true.
131131

132132
- Create a role named `Super-Admin`. (Or whatever name you wish; but use it consistently just like you must with any role name.)
133-
- Add a Gate::before check in your `AuthServiceProvider`:
133+
- Add a Gate::before check in your `AuthServiceProvider` (or `AppServiceProvider` since Laravel 11):
134134

135135
```diff
136136
+ use Illuminate\Support\Facades\Gate;

0 commit comments

Comments
 (0)