/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id) { $edit = TextContact::findOrfail($id); $user_id = Auth::user()->id; $user_role = User::findOrfail($user_id); return view('admin.text.contact.edit', compact('user_role', 'edit')); }