@@ 55-75 (lines=21) @@ | ||
52 | /** |
|
53 | * Execute the console command. |
|
54 | */ |
|
55 | public function handle() |
|
56 | { |
|
57 | $this->processOptions(); |
|
58 | ||
59 | //Publish |
|
60 | $this->publishHomeController(); |
|
61 | $this->changeRegisterController(); |
|
62 | $this->changeLoginController(); |
|
63 | $this->changeForgotPasswordController(); |
|
64 | $this->changeResetPasswordController(); |
|
65 | $this->publishPublicAssets(); |
|
66 | $this->publishViews(); |
|
67 | $this->publishResourceAssets(); |
|
68 | $this->publishTests(); |
|
69 | $this->publishLanguages(); |
|
70 | $this->publishGravatar(); |
|
71 | $this->publishConfig(); |
|
72 | $this->publishWebRoutes(); |
|
73 | $this->publishApiRoutes(); |
|
74 | $this->publishAppServiceProvider(); |
|
75 | } |
|
76 | ||
77 | /** |
|
78 | * Install Home Controller. |
@@ 85-107 (lines=23) @@ | ||
82 | /** |
|
83 | * Bootstrap the application services. |
|
84 | */ |
|
85 | public function boot() |
|
86 | { |
|
87 | $this->defineRoutes(); |
|
88 | ||
89 | //Publish |
|
90 | $this->publishHomeController(); |
|
91 | $this->changeRegisterController(); |
|
92 | $this->changeLoginController(); |
|
93 | $this->changeForgotPasswordController(); |
|
94 | $this->changeResetPasswordController(); |
|
95 | $this->publishPublicAssets(); |
|
96 | $this->publishViews(); |
|
97 | $this->publishResourceAssets(); |
|
98 | $this->publishTests(); |
|
99 | $this->publishLanguages(); |
|
100 | $this->publishGravatar(); |
|
101 | $this->publishConfig(); |
|
102 | $this->publishWebRoutes(); |
|
103 | $this->publishApiRoutes(); |
|
104 | $this->publishAppServiceProvider(); |
|
105 | ||
106 | $this->enableSpatieMenu(); |
|
107 | } |
|
108 | ||
109 | /** |
|
110 | * Define the AdminLTETemplate routes. |