Remove weirdness.

This commit is contained in:
Douwe Maan 2015-08-20 14:03:09 -07:00
parent 123af78561
commit 02b7be4a68
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ module IconsHelper
end
def boolean_to_icon(value)
if value.to_s == "true"
if value
icon('circle', class: 'cgreen')
else
icon('power-off', class: 'clgray')