Move set_locale as early as possible

Fixes #5251
This commit is contained in:
Tom Hughes
2025-07-01 18:32:21 +01:00
parent 64cc4154b9
commit c266f3c90a

View File

@ -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
##