/** * @param CommentRequest $request * @param CommentService $comment * * @return \Illuminate\Http\RedirectResponse */ public function store(CommentRequest $request, CommentService $comment) { $params = $request->only(['name', 'comment', 'entry_id']); $comment->addComment($params); return redirect()->route('entry.show', [$params['entry_id']]); }