fix: reference to item location on location edit method

This commit is contained in:
Jesse Ostrander
2025-02-24 17:34:18 -05:00
committed by GitHub
parent ee85a392e7
commit 6a8a41b389
+1 -1
View File
@@ -100,7 +100,7 @@ class LocationsController extends Controller
public function edit(Location $location) : View | RedirectResponse
{
$this->authorize('update', Location::class);
return view('locations/edit');
return view('locations/edit')->with('item', $location);
}
/**