@@ -172,7 +172,7 @@ discard block |
||
| 172 | 172 | */ |
| 173 | 173 | protected function loadModuleWebRoutes($module) |
| 174 | 174 | { |
| 175 | - if (file_exists(base_path() .'/app/Modules/' . $module . '/web.php')) { |
|
| 175 | + if (file_exists(base_path() . '/app/Modules/' . $module . '/web.php')) { |
|
| 176 | 176 | $this->loadRoutesFrom(base_path('app/Modules/' . $module . '/web.php')); |
| 177 | 177 | } |
| 178 | 178 | } |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | */ |
| 183 | 183 | protected function loadModuleAPIRoutes($module) |
| 184 | 184 | { |
| 185 | - if (file_exists(base_path() .'/app/Modules/' . $module . '/api.php')) { |
|
| 185 | + if (file_exists(base_path() . '/app/Modules/' . $module . '/api.php')) { |
|
| 186 | 186 | $this->loadRoutesFrom(base_path('app/Modules/' . $module . '/api.php')); |
| 187 | 187 | } |
| 188 | 188 | } |
@@ -84,10 +84,10 @@ discard block |
||
| 84 | 84 | } |
| 85 | 85 | |
| 86 | 86 | // Has a File Name been given? |
| 87 | - if($this->isFileNameGiven($filename)){ |
|
| 87 | + if ($this->isFileNameGiven($filename)) { |
|
| 88 | 88 | |
| 89 | 89 | // Create Controller |
| 90 | - if($this->option('controller')) { |
|
| 90 | + if ($this->option('controller')) { |
|
| 91 | 91 | $this->createController($module, $filename); |
| 92 | 92 | return; |
| 93 | 93 | } |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | $this->line(''); |
| 115 | 115 | $this->warn('Options:'); |
| 116 | 116 | $this->info(' --create - Creates the folder structure and web routes file for a module'); |
| 117 | - $this->info(' --controller [FileName] [--plain] - Creates a controller for the module given - add'. |
|
| 117 | + $this->info(' --controller [FileName] [--plain] - Creates a controller for the module given - add' . |
|
| 118 | 118 | ' --plain to create an empty controller.'); |
| 119 | 119 | // $this->info(' --migration [FileName] - Creates a migration for the module given'); |
| 120 | 120 | // $this->info(' --model [FileName] - Creates a model for the module given'); |