about summary refs log tree commit diff
path: root/app/controllers/activitypub
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-03-22 12:29:04 +0100
committerGitHub <noreply@github.com>2022-03-22 12:29:04 +0100
commit67d550830b3b1a9a2b65b1ab98ea4bcd491666c5 (patch)
tree309da029b31b2228268a6681bccdadda257d192b /app/controllers/activitypub
parent410989e081b812d6f025489ab589428f987d26c0 (diff)
Fix locale not being set in REST API (#17847)
Diffstat (limited to 'app/controllers/activitypub')
-rw-r--r--app/controllers/activitypub/base_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/activitypub/base_controller.rb b/app/controllers/activitypub/base_controller.rb
index 4cbc3ab8f..196d85a32 100644
--- a/app/controllers/activitypub/base_controller.rb
+++ b/app/controllers/activitypub/base_controller.rb
@@ -2,6 +2,7 @@
 
 class ActivityPub::BaseController < Api::BaseController
   skip_before_action :require_authenticated_user!
+  skip_around_action :set_locale
 
   private