@@ -15,7 +15,7 @@ |
||
| 15 | 15 | /> |
| 16 | 16 | </svg> |
| 17 | 17 | ", 200, [ |
| 18 | - 'Content-Type' => 'image/svg+xml', |
|
| 19 | - ]); |
|
| 18 | + 'Content-Type' => 'image/svg+xml', |
|
| 19 | + ]); |
|
| 20 | 20 | } |
| 21 | 21 | } |
@@ -58,14 +58,14 @@ |
||
| 58 | 58 | $namePrefix = $namePrefix ?? $this->app['config']['lorem-image.route.name_prefix']; |
| 59 | 59 | |
| 60 | 60 | Route::prefix($prefix) |
| 61 | - ->as("{$namePrefix}.") |
|
| 62 | - ->where([ |
|
| 63 | - 'extension' => '(' . implode('|', config('lorem-image.drivers.color-block.extensions')) . ')', |
|
| 64 | - ]) |
|
| 65 | - ->group(function () { |
|
| 66 | - Route::get('color-block.{extension}', ColorBlockController::class) |
|
| 67 | - ->name('color-block'); |
|
| 68 | - }); |
|
| 61 | + ->as("{$namePrefix}.") |
|
| 62 | + ->where([ |
|
| 63 | + 'extension' => '(' . implode('|', config('lorem-image.drivers.color-block.extensions')) . ')', |
|
| 64 | + ]) |
|
| 65 | + ->group(function () { |
|
| 66 | + Route::get('color-block.{extension}', ColorBlockController::class) |
|
| 67 | + ->name('color-block'); |
|
| 68 | + }); |
|
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | /** |