贴吧附件路由转发问题

dev_admin
daiao 6 years ago
parent fed8142ea9
commit a317a857bc

@ -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

Loading…
Cancel
Save