0
0
Fork 0

Adding react-intl i18n to the frontend. No translations yet

This commit is contained in:
Eugen Rochko 2016-11-16 17:20:52 +01:00
parent 546c4718e7
commit 01e43c3e57
31 changed files with 263 additions and 223 deletions

View file

@ -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