Skip to content

Commit

Permalink
update Init.php agar menggunakan model dari config
Browse files Browse the repository at this point in the history
  • Loading branch information
anditsung committed Aug 6, 2020
1 parent 8685910 commit 0439a89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/Init.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ public function handle()
{
$guard = config('nova.guard') ?: config('auth.defaults.guard');
$userModel = config('auth.providers.users.model');
$roleModel = config('novauser.gates.role.model');
$permissionModel = config('novauser.gates.permission.model');
$roleModel = config('novauser.models.role');
$permissionModel = config('novauser.models.permission');

$this->info($roleModel);

Expand Down

0 comments on commit 0439a89

Please sign in to comment.