Adding react-intl i18n to the frontend. No translations yet
This commit is contained in:
@ -5,6 +5,7 @@ module HomeHelper
|
||||
{
|
||||
token: @token,
|
||||
account: render(file: 'api/v1/accounts/show', locals: { account: current_user.account }, formats: :json),
|
||||
locale: I18n.locale,
|
||||
}
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user