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:
parent
f095804761
commit
03975ed2ce
2 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
-----
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue