mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
change chain
This commit is contained in:
@@ -4,7 +4,7 @@ Rails.application.routes.draw do
|
||||
require 'admin_constraint'
|
||||
# mount Sidekiq::Web => '/sidekiq'
|
||||
|
||||
mount Sidekiq::Web => '/sidekiq', :constraints => AdminConstraint.new
|
||||
mount Sidekiq::Web => '/sidekiq'
|
||||
|
||||
get 'attachments/download/:id', to: 'attachments#show'
|
||||
get 'attachments/download/:id/:filename', to: 'attachments#show'
|
||||
|
||||
Reference in New Issue
Block a user