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|
format.html do
expires_in 0, public: true unless user_signed_in?
@rss_url = rss_url
end
format.rss do