3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-04-29 19:26:14 +00:00

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

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);
}
/**