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:
commit
327a1cc962
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
div.nav-collapse
|
||||
ul.nav
|
||||
- tabs.each do |title, url|
|
||||
- if url != ''
|
||||
- if url == ''
|
||||
li class="#{(current_path == url) ? 'active':''}"
|
||||
a href='#{{root_path}}#{{url}}' #{title}
|
||||
- else
|
||||
|
|
Loading…
Reference in a new issue