/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $title = 'Bedrijfs typen'; $types = Types::paginate(30); return view('admin.types.index', compact('title', 'types')); }