/** * Display the specified resource. * * @param int $id * @return Response */ public function show($id) { // if (!empty($id)) { if (isset($id)) { $student = Student::findOrfail($id); } } // dd($student->publichedAt->DiffforHumans() ); return view('student.show', compact('student')); }