Skip to content

Commit

Permalink
adds explanation about a default super admin into the README.md file
Browse files Browse the repository at this point in the history
  • Loading branch information
supportsitewill authored Dec 30, 2024
1 parent 1487d96 commit e8836e6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,9 @@ Go into the NovaServiceProvider.php file and add the next logic into the gate()
Gate::define('viewNova', function ($user) {
return $user->role_admin;
});
```
```

### If you want to seed a default super admin, run the next command
```
php artisan db:seed --class=SuperAdminSeeder
```

0 comments on commit e8836e6

Please sign in to comment.