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