/** * Display the specified resource. * * @param int $id * @return Response */ public function show() { $edit = TextContact::all(); $user_id = Auth::user()->id; $user_role = User::findOrfail($user_id); return view('admin.text.contact.show', compact('user_role', 'edit')); }
public function contactUs() { $textC = TextContact::all(); return view('contacto', compact('textC')); }