We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b1a765 commit 7585ffeCopy full SHA for 7585ffe
src/Kodeine/Acl/AclServiceProvider.php
@@ -13,12 +13,9 @@ class AclServiceProvider extends ServiceProvider
13
public function boot()
14
{
15
$this->publishes([
16
- __DIR__ . '/../../migrations/' => base_path('/database/migrations')
+ __DIR__ . '/../../config/acl.php' => config_path('acl.php'),
17
+ __DIR__ . '/../../migrations/' => base_path('/database/migrations'),
18
], 'migrations');
-
19
- $this->publishes([
20
- __DIR__.'/../config/api.php' => config_path('api.php'),
21
- ]);
22
}
23
24
/**
@@ -30,4 +27,4 @@ public function register()
30
27
31
28
//
32
29
33
-}
+}
src/config/acl.php
@@ -1,6 +1,6 @@
1
<?php
2
-return [
3
4
- 'role' => '1',
5
- 'permission' => '1',
+return [
+ 'role' => 'Kodeine\Acl\Role',
+ 'permission' => 'Kodeine\Acl\Permission',
6
];
0 commit comments