]> git.openstreetmap.org Git - rails.git/commit
'trace.tags.none' was never displayed because the empty list ([]) is true in ruby...
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 23 Jun 2009 00:02:35 +0000 (00:02 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 23 Jun 2009 00:02:35 +0000 (00:02 +0000)
commit9e504a0b33032635c3dc5801b22ca3e7566d6b0b
tree83efa0a1270fbd792205446db68a44a4e5b59b29
parent73f04687ff4e0d4d6f317619bac7ca0c9a79a4f3
'trace.tags.none' was never displayed because the empty list ([]) is true in ruby. Use trace.tags.empty?

Wrap 'trace.tags.none' in <i> to make it obvious that "none" is a system-generated value
app/views/trace/view.html.erb