public function recruitment() { $HTMLControl = HTMLControl::findOrFail(2); $context = ['HTMLControl' => $HTMLControl]; return view('front.Recruitment', $context); }
/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id) { $HTMLControl = HTMLControl::findOrFail($id); $context = ['HTMLControl' => $HTMLControl]; return \View::make('admin.HTMLControl.input', $context); }