/** * Display a listing of the resource. * * @return Response */ public function index() { $deget = Dega::all(); return view('dega.index', compact('deget')); }