about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-08-13 15:30:37 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-08-13 15:30:37 +0200
commit7ffec882ae79a49d6eed42361f7e8d5de99e1d74 (patch)
tree05fcf21b4ecc89b4bb00858ef5076131fcdf6afb /app
parent0e9668051e58b2ff4e48b82fa7cc17d385c7a5c9 (diff)
Fix reverse-proxy caching of instance actor object (#11561)
Diffstat (limited to 'app')
-rw-r--r--app/controllers/instance_actors_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/instance_actors_controller.rb b/app/controllers/instance_actors_controller.rb
index 41f33602e..6f02d6a35 100644
--- a/app/controllers/instance_actors_controller.rb
+++ b/app/controllers/instance_actors_controller.rb
@@ -3,6 +3,8 @@
 class InstanceActorsController < ApplicationController
   include AccountControllerConcern
 
+  skip_around_action :set_locale
+
   def show
     expires_in 10.minutes, public: true
     render json: @account, content_type: 'application/activity+json', serializer: ActivityPub::ActorSerializer, adapter: ActivityPub::Adapter, fields: restrict_fields_to