public function resumePage() { $edu = WorkEdu::where('type', 0)->orderBy('id', 'desc')->get(); $work = WorkEdu::where('type', 1)->orderBy('id', 'desc')->get(); $skillsArray = Skills::get(); $skillsCollections = Collection::make($skillsArray); $skillsProfessional = $skillsCollections->where('type', 'professional'); $skillsAdditional = $skillsCollections->where('type', 'additional'); return View::make('site.resume', ['pageInfo' => ['siteTitle' => 'Resume', 'pageHeading' => 'Resume', 'pageHeadingSlogan' => "Here is my qualifications and experience", 'pageLogo' => 'resume'], 'data' => ['edu' => $edu, 'work' => $work, 'skillsPro' => $skillsProfessional, 'skillsAdd' => $skillsAdditional]]); }
public function getSkills() { $skills = Skills::get(); return view('admin.workedu.skills', ['pageInfo' => ['siteTitle' => 'Mange Skills', 'pageHeading' => 'Mange Skills'], 'data' => ['skills' => $skills]]); }