/** * Display a listing of the resource. * * @return Response */ public function index() { $berita = Berita::all(); return View::make('berita.index')->with('berita', $berita); }
public function berita() { $berita = Berita::all(); return View::make('web.berita')->with('berita', $berita); }