Skip to content

Commit

Permalink
Merge branch 'master' of github.com:hexters/rolevel
Browse files Browse the repository at this point in the history
  • Loading branch information
hexters committed Sep 5, 2019
2 parents 30f8d9d + c6132f0 commit f42241c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Migrations/0000_00_00_000000_create_roles_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ public function up()
});

$permission = new Permission;
Role::create([
$role = app(config('rolevel.models.roles'));
$role->create([
'name' => 'Superadmin',
'slug' => 'superadmin',
'description' => '',
Expand Down

0 comments on commit f42241c

Please sign in to comment.