/** * Display the all the tutors with the serach options * @return [type] [description] */ public function display() { //get the all the tutors first $tutors = Tutor::paginate($this->pageLimit); $subjects = Subjects::all(); $levels = Subjects::getLevels(); $districts = Districts::all(); Input::merge(['levels' => 'Primary']); return View::make('search')->with(compact(['tutors', 'subjects', 'levels', 'districts'])); }