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