about summary refs log tree commit diff
path: root/app/views/accounts
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-28 13:36:47 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-28 13:36:47 +0100
commit2d2c81765b0a68446a94a7fcba34758a3aa886c0 (patch)
tree0a0610b95195120bd334ad96f2f308a3bb30295a /app/views/accounts
parent26287b6e7dd68e03d6f2d6a7051bb9873e3f6c9a (diff)
Adding embedded PuSH server
Diffstat (limited to 'app/views/accounts')
-rw-r--r--app/views/accounts/show.atom.ruby3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/accounts/show.atom.ruby b/app/views/accounts/show.atom.ruby
index d7b2201d4..558c777f0 100644
--- a/app/views/accounts/show.atom.ruby
+++ b/app/views/accounts/show.atom.ruby
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
 Nokogiri::XML::Builder.new do |xml|
   feed(xml) do
     simple_id  xml, account_url(@account, format: 'atom')
@@ -12,6 +14,7 @@ Nokogiri::XML::Builder.new do |xml|
 
     link_alternate xml, TagManager.instance.url_for(@account)
     link_self      xml, account_url(@account, format: 'atom')
+    link_hub       xml, api_push_url
     link_hub       xml, Rails.configuration.x.hub_url
     link_salmon    xml, api_salmon_url(@account.id)