Skip to content

Commit e583262

Browse files
committed
correct processing for CheckboxFields - closes #11
1 parent b8b5e66 commit e583262

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/models/kms/checkbox_field.rb

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
module Kms
22
class CheckboxField < Field
3+
def get_value(entry)
4+
entry.values[liquor_name] == 'true'
5+
end
36
end
47
end

0 commit comments

Comments
 (0)