Chatwoot/app/controllers/api/v1/accounts/base_controller.rb
2022-03-16 13:54:18 +05:30

6 lines
211 B
Ruby

class Api::V1::Accounts::BaseController < Api::BaseController
include SwitchLocale
include EnsureCurrentAccountHelper
before_action :current_account
around_action :switch_locale_using_account_locale
end