10.4.3 댓글 작성을 위한 라우팅 규칙 추가하기
/posts/:postId/comments를 통해 POST 방식으로 폼을 전송했을 때 코멘트 컨트롤러의 Create 액션으로 전달되게 라우트 정보를 수정해 보자. conf/routes 파일에 POST /posts/:postId/comments Comment.Create를 추가하면 된다.
▼ conf/routes
## Comment
POST /posts/:postId/comments Comment.Create