Skip to content

Add an option for enabling lower case urls #43

@mrahhal

Description

@mrahhal

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions