summaryrefslogtreecommitdiff
path: root/users/app/views/webfinger/search.xml.erb
blob: 270383eeab6d4e9e01c1df8804f23fe94bf1cbd4 (plain)
1
2
3
4
5
6
7
8
<?xml version="1.0" encoding="UTF-8"?>
<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">
  <Subject>acct:<%= @subject.email_identifier %></Subject>
  <Alias>"<%= user_url(@subject.subject) %>"</Alias>
  <%- if @subject.key.present? %>
    <Link rel="public-key" type = 'PGP' href="<%= @subject.key %>"/>
  <% end %>
</XRD>