コード例 #1
0
 public function reply(ReviewReplyRequest $request, Review $review)
 {
     $this->authorize('reply', $review);
     $review->reply()->create($request->all());
     $this->flashSuccess();
     return back();
 }
コード例 #2
0
 public function store(ReviewReplyRequest $request, Review $review, ReviewManager $reviewManager)
 {
     $reviewManager->createReviewReply($review, $request->all());
     return $this->success();
 }