Skip to content

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

Open
ImpressiveDev wants to merge 2 commits intomrjgreen:masterfrom
ImpressiveDev:master
Open

'Named Routes for Reverse Routing': documentation update + add a feature.#32
ImpressiveDev wants to merge 2 commits intomrjgreen:masterfrom
ImpressiveDev:master

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.

1 participant