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

Localize list tabs' routes #157

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Localize list tabs' routes #157

wants to merge 1 commit into from

Conversation

MatejBalantic
Copy link
Contributor

  • This adds ability to localize individual tab's route
  • Also removes hard-coded list of tabs from few places in favor of enum

	- This adds ability to localize individual tab's route
	- Also removes hard-coded list of tabs from few places in favor of enum
result.include("tabs", this.tabsHelper.getTabs());
result.include("questions", top);
result.include("currentUser", loggedUser);
result.forwardTo("/WEB-INF/jsp/list/top.jsp");
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reasons to remove the section include?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I haven't seen it would be used anywhere, I'll double check this, thanks

@MatejBalantic
Copy link
Contributor Author

@leocwolter Thanks for looking into this!

@csokol
Copy link
Contributor

csokol commented Jan 17, 2016

Hi @MatejBalantic! Are you planning to address the comments made by @leocwolter?

This PR is pretty useful, would be great if you could fix this small issues to ship that to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants