lib/yaks/format/halo.rb in yaks-0.11.0 vs lib/yaks/format/halo.rb in yaks-0.12.0
- old
+ new
@@ -19,10 +19,10 @@
end
end
def serialize_form(form)
raw = form.to_h_compact
- raw[:href] = raw.delete(:action) if raw[:action]
+ raw[:href] = raw.delete(:action) if raw[:action]
raw[:fields] = form.fields.map(&method(:serialize_form_field))
raw
end
def serialize_form_field(field)