From c266f3c90a154dcb43ab0ff2b2e4337c510707d8 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 1 Jul 2025 18:32:21 +0100 Subject: [PATCH] Move set_locale as early as possible Fixes #5251 --- app/controllers/notes_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/notes_controller.rb b/app/controllers/notes_controller.rb index 05c54459a..903d3ffe0 100644 --- a/app/controllers/notes_controller.rb +++ b/app/controllers/notes_controller.rb @@ -5,12 +5,12 @@ class NotesController < ApplicationController before_action :check_api_readable before_action :authorize_web + before_action :set_locale before_action :require_oauth authorize_resource before_action :lookup_user, :only => [:index] - before_action :set_locale around_action :web_timeout ## -- 2.39.5