/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $units = MitteUnit::paginate(10); return view('mitte_units.index', compact('units')); }