Esempio n. 1
0
 /**
  * Cписок
  *
  * @param  int $contact_id
  * @return \Illuminate\Http\Response
  */
 public function index($contact_id)
 {
     $comments = \App\ContactLog::with('user')->where('contact_id', '=', $contact_id)->get()->sortByDesc('created_at');
     return view('comment/_list')->with(['comments' => $comments]);
 }