email via sidekiq. start and stop rake tasks

This commit is contained in:
Dmitriy Zaporozhets 2013-01-09 08:44:05 +03:00
parent c7bb3a1f72
commit 71bd956866
15 changed files with 36 additions and 46 deletions

View file

@ -12,7 +12,7 @@ Gitlab::Application.routes.draw do
constraint = lambda { |request| request.env["warden"].authenticate? and request.env['warden'].user.admin? }
constraints constraint do
mount Sidekiq::Web, at: "/admin/workers", as: :sidekiq
mount Sidekiq::Web, at: "/admin/sidekiq", as: :sidekiq
end
# Enable Grack support