@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | { |
| 55 | 55 | $router->group([ |
| 56 | 56 | 'namespace' => $this->namespace, 'middleware' => 'web', |
| 57 | - ], function ($router) { |
|
| 57 | + ], function($router) { |
|
| 58 | 58 | require app_path('Http/routes.php'); |
| 59 | 59 | }); |
| 60 | 60 | } |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | { |
| 64 | 64 | $router->group([ |
| 65 | 65 | 'namespace' => $this->namespace, |
| 66 | - ], function ($router) { |
|
| 66 | + ], function($router) { |
|
| 67 | 67 | require app_path('Http/routes-api.php'); |
| 68 | 68 | }); |
| 69 | 69 | } |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | |
| 4 | -Route::group(['prefix' => 'api/'], function () { |
|
| 4 | +Route::group([ 'prefix' => 'api/' ], function() { |
|
| 5 | 5 | Route::post('calc/save', 'CalculatorApiController@store'); |
| 6 | 6 | }); |
| 7 | 7 | \ No newline at end of file |