From aacb3d0f27d819108c035ba0d95a56b15cc7dfcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=2E=20Nagy=20Gerg=C5=91?= Date: Wed, 25 Oct 2023 13:53:21 +0200 Subject: [PATCH] fix response --- src/Http/Controllers/ActionController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Http/Controllers/ActionController.php b/src/Http/Controllers/ActionController.php index 2fbc94fd..553a4b69 100644 --- a/src/Http/Controllers/ActionController.php +++ b/src/Http/Controllers/ActionController.php @@ -2,16 +2,16 @@ namespace Cone\Root\Http\Controllers; -use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; use Illuminate\Support\Facades\Gate; +use Symfony\Component\HttpFoundation\Response; class ActionController extends Controller { /** * Handle the incoming request. */ - public function __invoke(Request $request): RedirectResponse + public function __invoke(Request $request): Response { $action = $request->route('action');