Skip to content
Râu Cao edited this page Feb 2, 2021 · 32 revisions

Rails

if you are using Devise then in your routes.rb add

require 'sidekiq/web'

authenticate :user, ->(user) { user.admin? } do
  mount Sidekiq::Web => '/sidekiq'
end
Clone this wiki locally