Fixed bad suppliers error route

This commit is contained in:
snipe 2017-12-01 20:28:37 -08:00
parent cbc09f3a12
commit 9deafd771e

View file

@ -251,7 +251,7 @@ class SuppliersController extends Controller
$error = trans('admin/suppliers/message.does_not_exist', compact('id'));
// Redirect to the user management page
return redirect()->route('suppliers')->with('error', $error);
return redirect()->route('suppliers.index')->with('error', $error);
}
}