/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $notulen = Notule::all(); return view('pages.admin.notulen.index', compact('notulen')); }
public function notulen() { $notulen = Notule::all()->sortBy('date'); return view('pages.public.notulen', compact('notulen')); }