3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-03-29 20:04:21 +00:00

Fixed incorrect route for components

This commit is contained in:
snipe
2017-03-11 12:13:35 -08:00
parent e475ccc1d4
commit 00aa06882c

View File

@ -220,7 +220,7 @@ class ComponentsController extends Controller
// Prepare the error message
$error = trans('admin/components/message.does_not_exist', compact('id'));
// Redirect to the user management page
return redirect()->route('components')->with('error', $error);
return redirect()->route('components.index')->with('error', $error);
}
/**