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:
commit
9c54bcc0b8
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.blank?
|
||||
- if url != ''
|
||||
li class="#{(current_path == url) ? 'active':''}"
|
||||
a href='#{{root_path}}#{{url}}' #{title}
|
||||
- else
|
||||
|
|
Loading…
Add table
Reference in a new issue