File tree Expand file tree Collapse file tree 4 files changed +4
-49
lines changed Expand file tree Collapse file tree 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
2222 */
2323 public function boot ()
2424 {
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-
3525 $ plugins = config ('modules ' , []);
3626
3727 foreach ($ plugins as $ plugin => $ desc )
@@ -56,5 +46,9 @@ public function boot()
5646 }
5747 }
5848 }
49+
50+ $ this ->publishes ([
51+ __DIR__ . '/config.php ' => config_path ('modules.php ' )
52+ ]);
5953 }
6054}
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments