/**
  * Update comment.
  *
  * @param CommentUpdateRequest $request
  * @param $id
  *
  * @return mixed
  */
 public function update(CommentUpdateRequest $request)
 {
     $comment = $this->comment->findOrFail($request->input('id'));
     $this->comment->update($request->all(), $request->input('id'));
     return $this->response->withItem($comment, $this->commentTransformer);
 }