1
0
Fork 0
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:
Luiz Gustavo Nogara 2012-12-02 11:18:38 -02:00
parent dc9e9d411a
commit 1d379c7f2a

View file

@ -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