File tree 2 files changed +10
-3
lines changed
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ public function register()
25
25
$ this ->registerServices ();
26
26
$ this ->setupStubPath ();
27
27
$ this ->registerProviders ();
28
+ $ this ->registerConfig ();
28
29
}
29
30
30
31
/**
@@ -58,4 +59,12 @@ protected function registerServices()
58
59
59
60
$ this ->app ->alias (RepositoryInterface::class, 'module ' );
60
61
}
62
+
63
+ /**
64
+ * Register module config.
65
+ */
66
+ public function registerConfig ()
67
+ {
68
+ $ this ->mergeConfigFrom (__DIR__ . '/../Config/module.php ' , 'module ' );
69
+ }
61
70
}
Original file line number Diff line number Diff line change @@ -33,9 +33,7 @@ protected function registerModules()
33
33
* Register package's namespaces.
34
34
*/
35
35
protected function registerNamespaces ()
36
- {
37
- $ this ->mergeConfigFrom (__DIR__ . '/../Config/module.php ' , 'module ' );
38
-
36
+ {
39
37
$ this ->publishes ([
40
38
__DIR__ . '/../Config/module.php ' => config_path ('module.php ' ),
41
39
], 'module ' );
You can’t perform that action at this time.
0 commit comments