Skip to content

Commit 7585ffe

Browse files
committed
fixed service provider
1 parent 2b1a765 commit 7585ffe

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

src/Kodeine/Acl/AclServiceProvider.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,9 @@ class AclServiceProvider extends ServiceProvider
1313
public function boot()
1414
{
1515
$this->publishes([
16-
__DIR__ . '/../../migrations/' => base_path('/database/migrations')
16+
__DIR__ . '/../../config/acl.php' => config_path('acl.php'),
17+
__DIR__ . '/../../migrations/' => base_path('/database/migrations'),
1718
], 'migrations');
18-
19-
$this->publishes([
20-
__DIR__.'/../config/api.php' => config_path('api.php'),
21-
]);
2219
}
2320

2421
/**
@@ -30,4 +27,4 @@ public function register()
3027
{
3128
//
3229
}
33-
}
30+
}

src/config/acl.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
2-
return [
32

4-
'role' => '1',
5-
'permission' => '1',
3+
return [
4+
'role' => 'Kodeine\Acl\Role',
5+
'permission' => 'Kodeine\Acl\Permission',
66
];

0 commit comments

Comments
 (0)