mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Fix old route (#4053)
Looks like we missed in the v4 port. Fixes the unrelated issue in #4052
This commit is contained in:
parent
3d7277398c
commit
af19e5d976
|
@ -380,7 +380,7 @@ class AssetsController extends Controller
|
|||
if ($asset->save()) {
|
||||
// Redirect to the new asset page
|
||||
\Session::flash('success', trans('admin/hardware/message.update.success'));
|
||||
return response()->json(['redirect_url' => route("view/hardware", $assetId)]);
|
||||
return response()->json(['redirect_url' => route("hardware.show", $assetId)]);
|
||||
}
|
||||
\Input::flash();
|
||||
\Session::flash('errors', $asset->getErrors());
|
||||
|
|
Loading…
Reference in a new issue