From a317a857bc4260398528cd7d3d347c7acda07a1d Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Thu, 1 Aug 2019 16:04:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=B4=E5=90=A7=E9=99=84=E4=BB=B6=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=E8=BD=AC=E5=8F=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/routes.rb b/config/routes.rb index 79542817f..b8db3afa6 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -5,6 +5,7 @@ Rails.application.routes.draw do mount Sidekiq::Web => '/sidekiq', :constraints => AdminConstraint.new get 'attachments/download/:id', to: 'attachments#show' + get 'attachments/download/:id/:filename', to: 'attachments#show' resources :edu_settings scope '/api' do