mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Remove unused variable
This commit is contained in:
parent
6c1de7ff05
commit
6deb26fafe
|
@ -41,8 +41,6 @@ class LocationsController extends Controller
|
||||||
{
|
{
|
||||||
// Grab all the locations
|
// Grab all the locations
|
||||||
$this->authorize('view', Location::class);
|
$this->authorize('view', Location::class);
|
||||||
$locations = Location::orderBy('created_at', 'DESC')->with('parent', 'assets', 'assignedassets')->get();
|
|
||||||
|
|
||||||
// Show the page
|
// Show the page
|
||||||
return view('locations/index');
|
return view('locations/index');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue