From 3fbe4691f52a62033d03fa46c5ead976484e11b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=BCneyt=20=C5=9Eent=C3=BCrk?= Date: Mon, 4 Oct 2021 20:31:00 +0300 Subject: [PATCH] Redirect widget show method dashboard #12b560c --- app/Http/Controllers/Common/Widgets.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/Http/Controllers/Common/Widgets.php b/app/Http/Controllers/Common/Widgets.php index b9b1f1fba..7cc2be2d7 100644 --- a/app/Http/Controllers/Common/Widgets.php +++ b/app/Http/Controllers/Common/Widgets.php @@ -24,6 +24,16 @@ class Widgets extends Controller return response()->json($widgets); } + /** + * Show the form for viewing the specified resource. + * + * @return Response + */ + public function show() + { + return redirect()->route('dashboard'); + } + /** * Store a newly created resource in storage. *