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

Fixes #20770
pull/41/head
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
1 changed files with 2 additions and 0 deletions

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