/** * نمایش یک کامنت با کامنت ایدی * * @param int $cmt_id * @return Response */ public function getComment(Request $request) { $input = $request->all(); $cmt_id = $input['cmt_id']; $comment = $this->CommentRepository->get($cmt_id); return $comment; }