public function getAddTrainerModal() { $semesters = Semester::all(); $sections = Section::all(); return View::make('admin.modals.addTrainer')->with('semesters', $semesters)->with('sections', $sections); }