From 6d72cb39f7341f3c67e007861a2559881aa5db29 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Wed, 11 Dec 2019 13:59:41 +0800 Subject: [PATCH] 1 --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 364fba7b8..b1a96a6ea 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -6,7 +6,7 @@ Rails.application.routes.draw do get 'attachments/download/:id', to: 'attachments#show' get 'attachments/download/:id/:filename', to: 'attachments#show' - delete 'attachments/destroy_files', to 'attachments#destroy_files' + delete 'api/attachments/destroy_files', to 'attachments#destroy_files' get 'auth/qq/callback', to: 'oauth/qq#create' get 'auth/failure', to: 'oauth/base#auth_failure'