Skip to content

Commit

Permalink
Fix invalid/empty RSS feed link on account pages (mastodon#20772)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire authored Nov 17, 2022
1 parent 7fdeed5 commit cbb0153
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/accounts_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ def show
respond_to do |format|
format.html do
expires_in 0, public: true unless user_signed_in?

@rss_url = rss_url
end

format.rss do
Expand Down

0 comments on commit cbb0153

Please sign in to comment.