From 3582566a5298a8cc132e42221b4d7fbce4fd7dc1 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sun, 21 Jul 2019 16:52:09 -0500 Subject: privacy - remove rss endpoint from account controller --- app/controllers/accounts_controller.rb | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb index 8c4ae97eb..8994449b4 100644 --- a/app/controllers/accounts_controller.rb +++ b/app/controllers/accounts_controller.rb @@ -32,13 +32,6 @@ class AccountsController < ApplicationController end end - format.rss do - mark_cacheable! - - @statuses = cache_collection(default_statuses.without_reblogs.without_replies.limit(PAGE_SIZE), Status) - render xml: RSS::AccountSerializer.render(@account, @statuses) - end - format.json do mark_cacheable! -- cgit