1
0
Fork 0
forked from fedi/mastodon

Fix invalid/empty RSS feed link on account pages (#20772)

Fixes #20770
This commit is contained in:
Claire 2022-11-17 10:58:33 +01:00 committed by GitHub
parent 7fdeed5fbc
commit cbb0153bd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,8 @@ class AccountsController < ApplicationController
respond_to do |format| respond_to do |format|
format.html do format.html do
expires_in 0, public: true unless user_signed_in? expires_in 0, public: true unless user_signed_in?
@rss_url = rss_url
end end
format.rss do format.rss do