mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 00:08:46 +00:00
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