about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorTakeshi Umeda <noel.yoshiba@gmail.com>2019-08-19 03:54:36 +0900
committerEugen Rochko <eugen@zeonfederated.com>2019-08-18 20:54:36 +0200
commit9e1d28f48e8197690ab4ec9ff02d981f408bf875 (patch)
treeef91bc9515fe0e83c5e2694fe95370b3295308b5 /app/views
parenta8b0bb355d3e7351b9f3d53fe7a3fb6d3d011d33 (diff)
Add an RSS feed tagged to a public profile page (#10502)
* Add featured tag support to rss feed on public account page

* fix codeing style
Diffstat (limited to 'app/views')
-rw-r--r--app/views/accounts/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/accounts/show.html.haml b/app/views/accounts/show.html.haml
index b63bbc0c3..9c26dbabc 100644
--- a/app/views/accounts/show.html.haml
+++ b/app/views/accounts/show.html.haml
@@ -7,7 +7,7 @@
   - if @account.user&.setting_noindex
     %meta{ name: 'robots', content: 'noindex, noarchive' }/
 
-  %link{ rel: 'alternate', type: 'application/rss+xml', href: account_url(@account, format: 'rss') }/
+  %link{ rel: 'alternate', type: 'application/rss+xml', href: @rss_url }/
   %link{ rel: 'alternate', type: 'application/activity+json', href: ActivityPub::TagManager.instance.uri_for(@account) }/
 
   - if @older_url