简体   繁体   中英

Missing Sidekiq url helper

In our routes file we have:

require 'sidekiq/web'
# ...
mount Sidekiq::Web, at: '/sidekiq'

but sidekiq_web_url url helper doesn't work

Rails doesn't create helpers for URLs it doesn't create. Put '/sidekiq' in your template.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM