fix: Move integration text to translation file (#1463)

- Move integration text to translation file
- Split switch_locale
This commit is contained in:
Pranav Raj S
2020-11-30 16:24:54 +05:30
committed by GitHub
parent d51c5d5768
commit 64733ca3bc
9 changed files with 38 additions and 16 deletions

View File

@@ -1,5 +1,7 @@
class Api::V1::Accounts::BaseController < Api::BaseController
include SwitchLocale
before_action :current_account
around_action :switch_locale_using_account_locale
private

View File

@@ -1,6 +1,9 @@
class Api::V1::Widget::BaseController < ApplicationController
include SwitchLocale
before_action :set_web_widget
before_action :set_contact
around_action :switch_locale_using_account_locale
private