From 185e9ef816505e502ac10414d4f4af9c389db0c1 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Tue, 14 Nov 2023 18:49:15 +0100 Subject: [PATCH] Formatting --- packages/realtime-compiler/src/Http/LiveEditController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/realtime-compiler/src/Http/LiveEditController.php b/packages/realtime-compiler/src/Http/LiveEditController.php index 2bee2def877..9fdb3f65110 100644 --- a/packages/realtime-compiler/src/Http/LiveEditController.php +++ b/packages/realtime-compiler/src/Http/LiveEditController.php @@ -63,7 +63,7 @@ public static function injectLiveEditScript(string $html): string protected function redirectToPage(Route $route): HtmlResponse { - $redirectPage = new Redirect($this->request->path, "../" . $route); + $redirectPage = new Redirect($this->request->path, "../$route"); Hyde::shareViewData($redirectPage); return (new HtmlResponse(303, 'Redirect', [