File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,9 @@ public function register()
30
30
private function load (): self
31
31
{
32
32
$ this ->loadRoutesFrom (__DIR__ .'/../routes/api.php ' );
33
+
33
34
$ this ->loadMigrationsFrom (__DIR__ .'/../database/migrations ' );
35
+
34
36
$ this ->mergeConfigFrom (__DIR__ .'/../config/tasks.php ' , 'enso.tasks ' );
35
37
36
38
return $ this ;
@@ -39,17 +41,13 @@ private function load(): self
39
41
private function publish (): self
40
42
{
41
43
$ this ->publishes ([
42
- __DIR__ .'/../config ' => config_path ('laravel- enso ' ),
43
- ], ' tasks-config ' );
44
+ __DIR__ .'/../config ' => config_path ('enso ' ),
45
+ ], [ ' enso-config ' , ' tasks-config '] );
44
46
45
47
$ this ->publishes ([
46
48
__DIR__ .'/../client/src/js ' => base_path ('client/src/js ' ),
47
49
], 'tasks-assets ' );
48
50
49
- $ this ->publishes ([
50
- __DIR__ .'/../config ' => config_path ('enso ' ),
51
- ], 'tasks-config ' );
52
-
53
51
return $ this ;
54
52
}
55
53
You can’t perform that action at this time.
0 commit comments