diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index a2896e79ca..d68418ce59 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -138,7 +138,7 @@ class Handler extends ExceptionHandler if (in_array('bulkedit', $ids, true)) { $error_array = session()->get('bulk_asset_errors'); return redirect() - ->route('hardware.bulkedit') + ->route('hardware.index') ->withErrors($error_array, 'bulk_asset_errors') ->withInput(); } diff --git a/app/Http/Controllers/Assets/BulkAssetsController.php b/app/Http/Controllers/Assets/BulkAssetsController.php index 1787450e6f..9f9f06c2ba 100644 --- a/app/Http/Controllers/Assets/BulkAssetsController.php +++ b/app/Http/Controllers/Assets/BulkAssetsController.php @@ -544,7 +544,7 @@ class BulkAssetsController extends Controller session()->put('bulk_asset_errors',$error_array); return redirect() - ->route('hardware.bulkedit') + ->route('hardware.index') ->with('bulk_asset_errors', $error_array) ->withInput(); }