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

'Named Routes for Reverse Routing': documentation update + add a feature. #32

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ImpressiveDev
Copy link

Documentation

The documentation was a bit misleading in the 'Named Routes for Reverse Routing' section (leading and trailing slashed are removed).

Also, it contained a error (the second parameter of the route function must be an array),

New feature

I often have to add leading/trailing slashes after calling the route function of the RouteCollector. Here is my proposal to add a wrapWithSlashes parameter to the function.

@ImpressiveDev ImpressiveDev changed the title Error fixes in 'Named Routes for Reverse Routing' documentation. 'Named Routes for Reverse Routing': documentation update + add a feature. Sep 15, 2015
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

1 participant