mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-06 02:05:51 +00:00
More for #3057
This commit is contained in:
@ -271,7 +271,7 @@ class AssetsController extends Controller
|
||||
}
|
||||
// Redirect to the asset listing page
|
||||
\Session::flash('success', trans('admin/hardware/message.create.success'));
|
||||
return response()->json(['redirect_url' => route('hardware')]);
|
||||
return response()->json(['redirect_url' => route('hardware.index')]);
|
||||
}
|
||||
\Input::flash();
|
||||
\Session::flash('errors', $asset->getErrors());
|
||||
|
||||
Reference in New Issue
Block a user