lib/almodovar/resource_presenter/link.rb in almodovar-0.9.3 vs lib/almodovar/resource_presenter/link.rb in almodovar-0.9.4
- old
+ new
@@ -59,10 +59,10 @@
end
class XmlSerializer < Serializer
def to_xml
- builder.link link.attributes.merge(:rel => link.rel, :href => link.href), &expand_block
+ builder.link link.attributes.merge(:rel => link.rel, :href => link.href.to_sym), &expand_block
end
private
def builder