public function jadwal() { $jadwal = DB::table('jadwal')->groupBy('hari')->get(); $rombel = Rombel::all(); return View::make('hal_guru.tampil_jadwal')->with('jadwal', $jadwal)->with('rombel', $rombel); }
/** * Display a listing of the resource. * * @return Response */ public function index() { $rombel = Rombel::all(); return View::make('rombel.index')->with('rombel', $rombel); }