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

Merge pull request #554 from nogara/fix-web-ui

Fixes active tab logic without using blank?
This commit is contained in:
Mike Perham 2012-12-02 05:58:55 -08:00
commit 327a1cc962

View file

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