1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Correctly find namespace for use in the Web UI.

This commit is contained in:
Brandon Hilkert 2013-01-26 14:12:34 -05:00
parent b968d6cfe0
commit 35c562f9c4

View file

@ -50,7 +50,7 @@ module Sidekiq
end
def namespace
Sidekiq.redis { |conn| conn.namespace.nil? ? 'default' : conn.namespace }
Sidekiq.redis { |conn| Sidekiq.options[:namespace] || 'default' }
end
def root_path