Fixed route parameters and tests to match

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe
2025-02-19 05:03:56 +00:00
parent ecc0e76e7b
commit 347eb2bdee
30 changed files with 65 additions and 65 deletions
@@ -97,7 +97,7 @@ class AccessoriesController extends Controller
*/
public function edit(Accessory $accessory) : View | RedirectResponse
{
return view('accessories.edit')->with('category_type', 'accessory');
return view('accessories.edit')->with('item', $accessory)->with('category_type', 'accessory');
}
/**