/** * Show the application dashboard. * * @return \Illuminate\Http\Response */ public function index() { $provisioning = Provisioning::all(); $customers = Customer::all(); $onts = Ont::all(); $accessSwitches = AccessSwitch::all(); $dhcpSharedNetworks = DhcpSharedNetwork::all(); $ipaddresses = Ipaddress::all(); $ports = AccessSwitchPort::all(); return view('home')->with('provisioning', $provisioning)->with('customers', $customers)->with('onts', $onts)->with('accessSwitches', $accessSwitches)->with('ports', $ports)->with('ipaddresses', $ipaddresses)->with('DhcpSharedNetworks', $dhcpSharedNetworks); }
/** * Access Switches Index */ public function index() { $access_switches = AccessSwitch::all(); return view('access_switches.index')->with('accessSwitches', $access_switches); }
/** * Get all access switches */ public function index() { return AccessSwitch::all(); }