mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Fixes active tab logic without using blank?
This line should be equivalent to url.blank?
This commit is contained in:
parent
dc9e9d411a
commit
1d379c7f2a
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