You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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 likeRouter.action(...).toLowerCase()
is problematic for obvious reasons.Thanks for the great library!
The text was updated successfully, but these errors were encountered: