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

Fixes #20770
lolsob-rspec
Claire 2022-11-17 10:58:33 +01:00 committed by GitHub
parent 699bec589f
commit 4abfb043f2
1 changed files with 2 additions and 0 deletions

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