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

Fixed a bug that would cause initial loading to not happen correctly if prefix contained parameters #23

Merged
merged 4 commits into from
Jul 13, 2013

Conversation

pushchris
Copy link
Contributor

If you wanted the prefix to contain a parameter, say #user/:username/*subroute the SubRoute would never match because you were trying to match #user/:username/... to #user/somerandomusername/... The method of matching has been changed to regex matching versus determining if two strings matched.

geekdave added a commit that referenced this pull request Jul 13, 2013
Fixed a bug that would cause initial loading to not happen correctly if prefix contained parameters
@geekdave geekdave merged commit 56b0e2b into BackboneSubroute:master Jul 13, 2013
@geekdave
Copy link
Contributor

Sorry for the delay! Just tested this on my own projects and it works great. Had not thought of this use case yet, but I think I will be useful. Thanks! Merging...

Closes #22

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

2 participants