about summary refs log tree commit diff
path: root/app/views/well_known/host_meta/show.xml.ruby
blob: 07d0264711348d3f103c1b295ead884751c6ae34 (plain) (blame)
1
2
3
4
5
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