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

Fix homepage locale resetting #106

Merged
merged 1 commit into from
Jul 21, 2015

Conversation

bocharsky-bw
Copy link
Contributor

Add locale to homepage route to avoid locale resetting on homepage

@javiereguiluz
Copy link
Member

👍 it looks good to me.

defaults:
_controller: FrameworkBundle:Template:template
template: 'default/homepage.html.twig'
_locale: "%locale%"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The homepage without obvious locale is still work (used locale by default)

@javiereguiluz
Copy link
Member

Thanks @bocharsky-bw.

@javiereguiluz javiereguiluz merged commit 5890ce2 into symfony:master Jul 21, 2015
javiereguiluz added a commit that referenced this pull request Jul 21, 2015
This PR was merged into the master branch.

Discussion
----------

Fix homepage locale resetting

Add locale to `homepage` route to avoid locale resetting on homepage

Commits
-------

5890ce2 Fix homepage locale resetting
@bocharsky-bw bocharsky-bw deleted the homepage-locale branch July 21, 2015 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants