Skip to content

Commit 7c7943e

Browse files
authored
Update AppServiceProvider.php
1 parent 7d5a1cf commit 7c7943e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/AppServiceProvider.php

+4-6
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ public function register()
3030
private function load(): self
3131
{
3232
$this->loadRoutesFrom(__DIR__.'/../routes/api.php');
33+
3334
$this->loadMigrationsFrom(__DIR__.'/../database/migrations');
35+
3436
$this->mergeConfigFrom(__DIR__.'/../config/tasks.php', 'enso.tasks');
3537

3638
return $this;
@@ -39,17 +41,13 @@ private function load(): self
3941
private function publish(): self
4042
{
4143
$this->publishes([
42-
__DIR__.'/../config' => config_path('laravel-enso'),
43-
], 'tasks-config');
44+
__DIR__.'/../config' => config_path('enso'),
45+
], ['enso-config', 'tasks-config']);
4446

4547
$this->publishes([
4648
__DIR__.'/../client/src/js' => base_path('client/src/js'),
4749
], 'tasks-assets');
4850

49-
$this->publishes([
50-
__DIR__.'/../config' => config_path('enso'),
51-
], 'tasks-config');
52-
5351
return $this;
5452
}
5553

0 commit comments

Comments
 (0)