/** * Display a listing of the resource. * @return Response */ public function index() { $netblocks = Netblock::with('contact')->paginate(10); return view('netblocks.index')->with('netblocks', $netblocks)->with('user', $this->user); }