@@ -52,8 +52,8 @@ discard block |
||
52 | 52 | protected function mapWebRoutes() |
53 | 53 | { |
54 | 54 | Route::middleware('web') |
55 | - ->namespace($this->namespace) |
|
56 | - ->group(base_path('routes/web.php')); |
|
55 | + ->namespace($this->namespace) |
|
56 | + ->group(base_path('routes/web.php')); |
|
57 | 57 | } |
58 | 58 | |
59 | 59 | /** |
@@ -66,8 +66,8 @@ discard block |
||
66 | 66 | protected function mapApiRoutes() |
67 | 67 | { |
68 | 68 | Route::prefix('api') |
69 | - ->middleware('api') |
|
70 | - ->namespace($this->namespace) |
|
71 | - ->group(base_path('routes/api.php')); |
|
69 | + ->middleware('api') |
|
70 | + ->namespace($this->namespace) |
|
71 | + ->group(base_path('routes/api.php')); |
|
72 | 72 | } |
73 | 73 | } |
@@ -11,13 +11,13 @@ |
||
11 | 11 | public function publicRoutes($uri, $controller, $name) |
12 | 12 | { |
13 | 13 | Route::get($uri, $controller.'@index') |
14 | - ->name($name.'.index'); |
|
14 | + ->name($name.'.index'); |
|
15 | 15 | |
16 | 16 | Route::get($uri.'/{uuid}', $controller.'@show') |
17 | - ->name($name.'.show'); |
|
17 | + ->name($name.'.show'); |
|
18 | 18 | |
19 | 19 | Route::get($uri.'/destroyed', $controller.'@destroyed') |
20 | - ->name($name.'.destroyed'); |
|
20 | + ->name($name.'.destroyed'); |
|
21 | 21 | } |
22 | 22 | |
23 | 23 | public function routesWithPermission() |