Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fixes #3742] Fix render when i18n hook is disabled #3741

Merged
merged 1 commit into from
Jun 2, 2016

Conversation

Mordred
Copy link
Contributor

@Mordred Mordred commented May 24, 2016

After i18n upgrade (sails 0.12.2+), sails.renderView() no longer works when i18n hook is disabled, because it was never configured. This patch will skip i18n.init() when this hook was disabled.

Fixes #3742

@sailsbot
Copy link

Hi @Mordred! It looks like your pull request title doesn’t quite conform to our guidelines. Please edit the title so that it starts with [proposal], [patch], [fixes #], or [implements #]. Once you've fixed it, post a comment below (e.g. "ok, fixed!") and we'll take a look!

@Mordred Mordred changed the title Fix render when i18n hook is disabled [fixes #3742] Fix render when i18n hook is disabled May 24, 2016
@Mordred
Copy link
Contributor Author

Mordred commented May 24, 2016

ok, fixed!

@sgress454
Copy link
Member

Thanks @Mordred!

@sgress454 sgress454 merged commit a7f65c7 into balderdashy:master Jun 2, 2016
@Mordred Mordred deleted the bugfix/i18n-view branch June 5, 2016 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

View render error when i18n hook is disabled
3 participants