chore: Prevent i18n config bleeding across requests (#1214)

This commit is contained in:
Sojan Jose
2020-10-05 17:55:46 +05:30
committed by GitHub
parent 77d380dd6b
commit e44afa03f3
6 changed files with 25 additions and 11 deletions

View File

@@ -15,7 +15,6 @@ class Api::V1::Accounts::BaseController < Api::BaseController
elsif @resource&.is_a?(AgentBot)
account_accessible_for_bot?(account)
end
switch_locale account
account
end