/** * Display a listing of the resource. * * @return Response */ public function index() { $programs = $this->programRepo->getActivePrograms(); return view('programs.index')->with('programs', $programs); }