1
0
Fork 0
mirror of https://github.com/endofunky/sidetiq.git synced 2022-11-09 13:53:30 -05:00

Don't check if Sidekiq::Web.tabs is an Array in Sidetiq::Web.

This commit is contained in:
Tobias Svensson 2013-08-27 11:29:34 +01:00
parent f095804761
commit 03975ed2ce
2 changed files with 2 additions and 6 deletions

View file

@ -3,6 +3,7 @@
- Bump Sidekiq dependency to ~> 2.14.0.
- Use ERB templates instead of slim.
- Don't check if `Sidekiq::Web.tabs` is an Array in Sidetiq::Web.
0.3.6
-----

View file

@ -49,10 +49,5 @@ module Sidetiq
end
Sidekiq::Web.register(Sidetiq::Web)
if Sidekiq::Web.tabs.is_a?(Array)
Sidekiq::Web.tabs << "sidetiq"
else
Sidekiq::Web.tabs["Sidetiq"] = "sidetiq"
end
Sidekiq::Web.tabs["Sidetiq"] = "sidetiq"