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

Add an option for enabling lower case urls #43

Closed
mrahhal opened this issue Oct 9, 2015 · 0 comments
Closed

Add an option for enabling lower case urls #43

mrahhal opened this issue Oct 9, 2015 · 0 comments

Comments

@mrahhal
Copy link
Contributor

mrahhal commented Oct 9, 2015

Self-explanatory, just like in mvc: RouteCollection.LowercaseUrls.

So that Router.action('Account', 'Login') generates /account/login with the option turned on, this way we can just write route values like we do in mvc without thinking much about it.

Also, for a route like Articles/{key}/Edit Router generates the route values uppercased no matter what I give it. And using something like Router.action(...).toLowerCase() is problematic for obvious reasons.

Thanks for the great library!

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

No branches or pull requests

1 participant