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:
parent
5db65cd3c9
commit
40d4176411
3 changed files with 8 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
HEAD
|
||||
2.5.4
|
||||
-----------
|
||||
|
||||
- `Sidekiq::Client.push` now accepts the worker class as a string so the
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
module Sidekiq
|
||||
VERSION = "2.5.3"
|
||||
VERSION = "2.5.4"
|
||||
end
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue