@@ -33,8 +33,8 @@ discard block |
||
| 33 | 33 | $this->insertIntoFile( |
| 34 | 34 | $webRouteFile, |
| 35 | 35 | "<?php\n", |
| 36 | - "use App\\Http\\Controllers\\".$this->module->getModelName()."Controller;\n" |
|
| 37 | - ); |
|
| 36 | + "use App\\Http\\Controllers\\".$this->module->getModelName()."Controller;\n" |
|
| 37 | + ); |
|
| 38 | 38 | |
| 39 | 39 | $this->insertIntoFile( |
| 40 | 40 | $webRouteFile, |
@@ -42,13 +42,13 @@ discard block |
||
| 42 | 42 | "\n".$this->getTabs(1)."Route::resource('".$this->module->getModuleName()."', ".$this->module->getModelName()."Controller::class);"
|
| 43 | 43 | ); |
| 44 | 44 | |
| 45 | - $generatedFiles[] = $webRouteFile; |
|
| 45 | + $generatedFiles[] = $webRouteFile; |
|
| 46 | 46 | |
| 47 | 47 | $this->insertIntoFile( |
| 48 | 48 | $backendWebRouteFile, |
| 49 | 49 | "<?php\n", |
| 50 | - "use App\\Http\\Controllers\\".$this->module->getModelName()."Controller;\n" |
|
| 51 | - ); |
|
| 50 | + "use App\\Http\\Controllers\\".$this->module->getModelName()."Controller;\n" |
|
| 51 | + ); |
|
| 52 | 52 | |
| 53 | 53 | $this->insertIntoFile( |
| 54 | 54 | $backendWebRouteFile, |