Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sidekiq.rb « routes « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0fa23f2b3d0be8fb47c95bc584e53f5746f49efa (plain)
1
2
3
4
constraint = lambda { |request| request.env['warden'].authenticate? && request.env['warden'].user.admin? }
constraints constraint do
  mount Sidekiq::Web, at: '/admin/sidekiq', as: :sidekiq
end