mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Fixed incorrect route for components
This commit is contained in:
parent
e475ccc1d4
commit
00aa06882c
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue