下载图片报错

dev_forum
daiao 5 years ago
parent 060d1a6792
commit 861cf17263

@ -4,6 +4,8 @@ Rails.application.routes.draw do
require 'admin_constraint' require 'admin_constraint'
mount Sidekiq::Web => '/sidekiq', :constraints => AdminConstraint.new mount Sidekiq::Web => '/sidekiq', :constraints => AdminConstraint.new
get 'attachments/download/:id', to: 'attachments#show'
resources :edu_settings resources :edu_settings
scope '/api' do scope '/api' do
get 'home/index' get 'home/index'

Loading…
Cancel
Save