about summary refs log tree commit diff
path: root/app/controllers/accounts_controller.rb
diff options
context:
space:
mode:
authorReverite <github@reverite.sh>2019-06-09 16:54:21 -0700
committerReverite <github@reverite.sh>2019-06-09 16:54:21 -0700
commit3614718bc91f90a6dc19dd80ecf3bc191283c24e (patch)
treead35f4dbe92fdbc3f95881d6be3d4f9b29d4a704 /app/controllers/accounts_controller.rb
parent846a09a7435fb9eb435e9950175ee0e696ed4909 (diff)
parente16c8fbc7a2b5a866960a87bc8c950ad0d38f61b (diff)
Merge branch 'glitch' into production
Diffstat (limited to 'app/controllers/accounts_controller.rb')
-rw-r--r--app/controllers/accounts_controller.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb
index fcdebb47f..051b6ecbd 100644
--- a/app/controllers/accounts_controller.rb
+++ b/app/controllers/accounts_controller.rb
@@ -47,8 +47,6 @@ class AccountsController < ApplicationController
       end
 
       format.json do
-        mark_cacheable!
-
         render_cached_json(['activitypub', 'actor', @account], content_type: 'application/activity+json') do
           ActiveModelSerializers::SerializableResource.new(@account, serializer: ActivityPub::ActorSerializer, adapter: ActivityPub::Adapter)
         end