!!FIX BUG : values does not appear on info dossier

This commit is contained in:
Xavier J 2016-02-25 11:50:09 +01:00
parent e1d1e356e5
commit a316165792
2 changed files with 6 additions and 0 deletions

View file

@ -4,6 +4,7 @@ class ChampDecorator < Draper::Decorator
if type_champ == 'checkbox'
return object.value == 'on' ? 'Oui' : 'Non'
end
object.value
end
def type_champ