From 01e43c3e5799b575a70798056945365ddf51f3ad Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Wed, 16 Nov 2016 17:20:52 +0100 Subject: Adding react-intl i18n to the frontend. No translations yet --- app/helpers/home_helper.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/helpers') diff --git a/app/helpers/home_helper.rb b/app/helpers/home_helper.rb index 66d7ea9af..6f87c7b72 100644 --- a/app/helpers/home_helper.rb +++ b/app/helpers/home_helper.rb @@ -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 -- cgit