Add RSS alternate to channel and subscription pages

This commit is contained in:
Omar Roth 2019-03-07 13:34:33 -06:00
parent 1d6c763e92
commit 10abcd519f
3 changed files with 4 additions and 1 deletions

View file

@ -1880,6 +1880,7 @@ get "/feed/subscriptions" do |env|
user = user.as(User)
sid = sid.as(String)
preferences = user.preferences
token = user.token
if preferences.unseen_only
env.set "show_watched", true