From 07b9acc347ff674396a06f5b30b575fb636a3e00 Mon Sep 17 00:00:00 2001 From: admin1 Date: Sun, 24 Jan 2021 11:18:02 -0500 Subject: [PATCH] user master for oauth --- app/controllers/oauth/authorizations_controller.rb | 1 + app/controllers/oauth/authorized_applications_controller.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/app/controllers/oauth/authorizations_controller.rb b/app/controllers/oauth/authorizations_controller.rb index bb5d639c..d53b482e 100644 --- a/app/controllers/oauth/authorizations_controller.rb +++ b/app/controllers/oauth/authorizations_controller.rb @@ -6,6 +6,7 @@ class Oauth::AuthorizationsController < Doorkeeper::AuthorizationsController before_action :store_current_location before_action :authenticate_resource_owner! before_action :set_cache_headers + before_action :use_master include Localized diff --git a/app/controllers/oauth/authorized_applications_controller.rb b/app/controllers/oauth/authorized_applications_controller.rb index f3d23536..7cca5937 100644 --- a/app/controllers/oauth/authorized_applications_controller.rb +++ b/app/controllers/oauth/authorized_applications_controller.rb @@ -6,6 +6,7 @@ class Oauth::AuthorizedApplicationsController < Doorkeeper::AuthorizedApplicatio before_action :store_current_location before_action :authenticate_resource_owner! before_action :set_body_classes + before_action :use_master include Localized