mirror of
https://github.com/cp6/my-idlers.git
synced 2025-04-19 17:48:36 +00:00
Update all locations call type
Update all locations call type
This commit is contained in:
parent
1251fae0df
commit
7b37eba517
4 changed files with 4 additions and 4 deletions
|
@ -12,7 +12,7 @@ class LocationsController extends Controller
|
|||
{
|
||||
public function index()
|
||||
{
|
||||
$locations = Locations::all();
|
||||
$locations = Locations::allLocations();
|
||||
return view('locations.index', compact(['locations']));
|
||||
}
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ class ResellerController extends Controller
|
|||
public function create()
|
||||
{
|
||||
$Providers = Providers::allProviders();
|
||||
$Locations = Locations::all();
|
||||
$Locations = Locations::allLocations();
|
||||
return view('reseller.create', compact(['Providers', 'Locations']));
|
||||
}
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@ class ServerController extends Controller
|
|||
public function create()
|
||||
{
|
||||
$Providers = Providers::allProviders();
|
||||
$Locations = Locations::all();
|
||||
$Locations = Locations::allLocations();
|
||||
$Os = OS::allOS();
|
||||
return view('servers.create', compact(['Providers', 'Locations', 'Os']));
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ class SharedController extends Controller
|
|||
public function create()
|
||||
{
|
||||
$Providers = Providers::allProviders();
|
||||
$Locations = Locations::all();
|
||||
$Locations = Locations::allLocations();
|
||||
return view('shared.create', compact(['Providers', 'Locations']));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue