/** * Show the form for creating a new resource. * * @return \Illuminate\Http\Response */ public function create() { $kategori = Kategori::all(); $pertama = Kategori::first(); return View('berita.create')->with('kategori', $kategori)->with('pertama', $pertama); }