/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $categori = Categori::all(); return view('admin.categori', compact('categori')); }