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:
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user