mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 05:04:07 -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
|
||||
$this->authorize('view', Location::class);
|
||||
$locations = Location::orderBy('created_at', 'DESC')->with('parent', 'assets', 'assignedassets')->get();
|
||||
|
||||
// Show the page
|
||||
return view('locations/index');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue