summaryrefslogtreecommitdiff
path: root/users/app/views/webfinger/search.xml.erb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-01-25 19:26:51 +0100
committerAzul <azul@leap.se>2013-01-25 19:26:51 +0100
commit9563ed191556e739c8f99be4d0fc75ac31c8f6cd (patch)
tree5a87fc1947921766a5430896f4bcf531dc396bff /users/app/views/webfinger/search.xml.erb
parent77a51e1de520299afd2b33e7a3992aaafab1d6ae (diff)
parentdac578781baf73a006cc78e29588dd1f6fdc0fd3 (diff)
Merge branch 'master' into merge_leap_ca
Diffstat (limited to 'users/app/views/webfinger/search.xml.erb')
-rw-r--r--users/app/views/webfinger/search.xml.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/users/app/views/webfinger/search.xml.erb b/users/app/views/webfinger/search.xml.erb
new file mode 100644
index 0000000..7328552
--- /dev/null
+++ b/users/app/views/webfinger/search.xml.erb
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">
+ <Subject><%= @presenter.subject %></Subject>
+ <%- @presenter.links.each do |rel, link| %>
+ <Link rel=<%=rel%> type=<%=link[:type]%> href="<%= link[:key] %>"/>
+ <% end %>
+</XRD>