@@ -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 | } |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | { |
| 35 | 35 | // Zapobiegaj infinite loop |
| 36 | 36 | if (back()->getTargetUrl() === url()->current()) { |
| 37 | - Log::info('Request loop: '. back()->getTargetUrl()); |
|
| 37 | + Log::info('Request loop: '.back()->getTargetUrl()); |
|
| 38 | 38 | return redirect(route('room.index'))->with($data); |
| 39 | 39 | } |
| 40 | 40 | |
@@ -138,7 +138,7 @@ |
||
| 138 | 138 | $guest = Guest::select('id')->findOrFail($guestId); |
| 139 | 139 | } catch (ModelNotFoundException $e) { |
| 140 | 140 | // TODO: logger helper |
| 141 | - Log::warning(__CLASS__.'::'.__FUNCTION__.' at '.__LINE__.': '. $e->getMessage()); |
|
| 141 | + Log::warning(__CLASS__.'::'.__FUNCTION__.' at '.__LINE__.': '.$e->getMessage()); |
|
| 142 | 142 | return $this->returnBack([ |
| 143 | 143 | 'message' => trans('general.object_not_found'), |
| 144 | 144 | 'alert-class' => 'alert-danger', |