public function login() { $page = get_page_contents('login'); return view('auth.login', compact('page')); }
/** * Display the specified resource. * * @param int $id * @return Response */ public function show($id) { $v = Volunteer::find($id); $page = get_page_contents(); return view('volunteers.show', compact('v', 'page')); }