From 4d3d19ca2bcd03238bf0c3abaf724d3051d7919c Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 19 Oct 2017 02:07:31 -0700 Subject: [PATCH] Fixes older route reference in consumables --- app/Http/Controllers/ConsumablesController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ConsumablesController.php b/app/Http/Controllers/ConsumablesController.php index c7c920897b..ccc8a2e979 100644 --- a/app/Http/Controllers/ConsumablesController.php +++ b/app/Http/Controllers/ConsumablesController.php @@ -194,7 +194,7 @@ class ConsumablesController extends Controller if (isset($consumable->id)) { return view('consumables/view', compact('consumable')); } - return redirect()->route('consumables')->with('error', trans('admin/consumables/message.does_not_exist', compact('id'))); + return redirect()->route('consumables.index')->with('error', trans('admin/consumables/message.does_not_exist', compact('id'))); } /**