1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-30 22:48:33 +09:00
whippy-edition/app/views/xrd/host_meta.xml.ruby
2016-02-22 16:00:20 +01:00

6 lines
204 B
Ruby

Nokogiri::XML::Builder.new do |xml|
xml.XRD(xmlns: 'http://docs.oasis-open.org/ns/xri/xrd-1.0') do
xml.Link(rel: 'lrdd', type: 'application/xrd+xml', template: @webfinger_template)
end
end.to_xml