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

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

Fixes error "undefined method `blank?' for "":String "
This commit is contained in:
Mike Perham 2012-11-29 12:07:52 -08:00
commit 9c54bcc0b8

View file

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