From 81f03180eac3f21a5b1998581621e763e5eb32da Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Mon, 23 Dec 2019 15:55:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=84=E8=AE=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 73756ece3..10ae90fde 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -69,7 +69,9 @@ Rails.application.routes.draw do delete :delete_set end resources :comments do - post :reply + collection do + post :reply + end end end