lib/transcriber/resource/parser/embeddable.rb in transcriber-0.0.19 vs lib/transcriber/resource/parser/embeddable.rb in transcriber-0.0.20
- old
+ new
@@ -19,10 +19,10 @@
def from_hash(attrs)
raw? ? attrs : super
end
- def to_input(value, options = {})
+ def to_input(value, resource, options = {})
return {} if value.nil?
fields ? to_multiple_input(value, options)
: to_single_input(value)
end