mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 05:47:28 -08:00
Fixed bad suppliers error route
This commit is contained in:
parent
cbc09f3a12
commit
9deafd771e
|
@ -251,7 +251,7 @@ class SuppliersController extends Controller
|
||||||
$error = trans('admin/suppliers/message.does_not_exist', compact('id'));
|
$error = trans('admin/suppliers/message.does_not_exist', compact('id'));
|
||||||
|
|
||||||
// Redirect to the user management page
|
// Redirect to the user management page
|
||||||
return redirect()->route('suppliers')->with('error', $error);
|
return redirect()->route('suppliers.index')->with('error', $error);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue