about summary refs log tree commit diff
path: root/app/controllers/api
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-03-22 17:00:38 +0100
committerClaire <claire.github-309c@sitedethib.com>2022-03-22 17:00:38 +0100
commit59864ff495cb607b4e2632b8b8ca183c1e602626 (patch)
tree7dfc6dc1fff3d8864497d0ed32aff5862b5e47e9 /app/controllers/api
parent9ff119eecd1079e52a8a41d7b8d61520c4303c2f (diff)
parent67d550830b3b1a9a2b65b1ab98ea4bcd491666c5 (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Conflicts:
- `.github/dependabot.yml`:
  Upstream modified it, but we deleted it in glitch-soc.
  Keep it deleted.
Diffstat (limited to 'app/controllers/api')
-rw-r--r--app/controllers/api/base_controller.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/controllers/api/base_controller.rb b/app/controllers/api/base_controller.rb
index 72c30dec7..d96285b44 100644
--- a/app/controllers/api/base_controller.rb
+++ b/app/controllers/api/base_controller.rb
@@ -15,8 +15,6 @@ class Api::BaseController < ApplicationController
 
   protect_from_forgery with: :null_session
 
-  skip_around_action :set_locale
-
   rescue_from ActiveRecord::RecordInvalid, Mastodon::ValidationError do |e|
     render json: { error: e.to_s }, status: 422
   end