-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Devise
Râu Cao edited this page Feb 2, 2021
·
32 revisions
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