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

Fix active tab logic, bump version

This commit is contained in:
Mike Perham 2012-11-26 20:19:23 -08:00
parent 5db65cd3c9
commit 40d4176411
3 changed files with 8 additions and 4 deletions

View file

@ -1,4 +1,4 @@
HEAD
2.5.4
-----------
- `Sidekiq::Client.push` now accepts the worker class as a string so the

View file

@ -1,3 +1,3 @@
module Sidekiq
VERSION = "2.5.3"
VERSION = "2.5.4"
end

View file

@ -9,5 +9,9 @@
div.nav-collapse
ul.nav
- tabs.each do |title, url|
li class="#{(current_path==url) ? 'active':''}"
a href='#{{root_path}}#{{url}}' #{title}
- if url.blank?
li class="#{(current_path == url) ? 'active':''}"
a href='#{{root_path}}#{{url}}' #{title}
- else
li class="#{(current_path =~ Regexp.new(url)) ? 'active':''}"
a href='#{{root_path}}#{{url}}' #{title}