File tree 4 files changed +4
-49
lines changed
4 files changed +4
-49
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -22,16 +22,6 @@ class ServiceProvider extends RouteServiceProvider
22
22
*/
23
23
public function boot ()
24
24
{
25
- $ this ->loadRoutesFrom (__DIR__ . '/routes.php ' );
26
- $ this ->loadMigrationsFrom (__DIR__ . '/migrations ' );
27
- $ this ->mergeConfigFrom (__DIR__ .'/config.php ' , 'modules ' );
28
- $ this ->loadTranslationsFrom (__DIR__ .'/translations ' , 'modules ' );
29
-
30
- $ this ->publishes ([
31
- __DIR__ .'/translations ' => resource_path ('lang/vendor/modules ' )
32
- ]);
33
-
34
-
35
25
$ plugins = config ('modules ' , []);
36
26
37
27
foreach ($ plugins as $ plugin => $ desc )
@@ -56,5 +46,9 @@ public function boot()
56
46
}
57
47
}
58
48
}
49
+
50
+ $ this ->publishes ([
51
+ __DIR__ . '/config.php ' => config_path ('modules.php ' )
52
+ ]);
59
53
}
60
54
}
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments