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

Making routes not greedily consume slashes by default #1044

Merged
merged 2 commits into from Jun 13, 2014
Merged

Conversation

moschel
Copy link
Contributor

@moschel moschel commented Jun 3, 2014

Adds a flag to turn this behavior off. Also makes it so you can call .root with the domain included, which wasn't working before.

@justinbmeyer I looked through the route issues and didn't see anything related to this. Added a flag anyways (matchSlashes, which defaults to false) so if this breaks someone's code they can flip it off.

@justinbmeyer
Copy link
Contributor

The build failed.

@moschel
Copy link
Contributor Author

moschel commented Jun 3, 2014

I think there's something wrong with the build. Its not failing locally in the same place, it just randomly timed out. But it was also timing out when I ran it from master in another spot.

@moschel
Copy link
Contributor Author

moschel commented Jun 3, 2014

I don't think that failure is actually related to this commit.

@justinbmeyer
Copy link
Contributor

I would make sure.

@daffl daffl modified the milestones: 2.1.3, 2.1.2 Jun 10, 2014
moschel and others added 2 commits June 13, 2014 10:00
update qunit and get rid of using steal.root in a test as it won't work in production
daffl added a commit that referenced this pull request Jun 13, 2014
Making routes not greedily consume slashes by default
@daffl daffl merged commit 2353887 into master Jun 13, 2014
@daffl daffl deleted the 1027-greedy-routes branch June 13, 2014 18:11
@justinbmeyer
Copy link
Contributor

@moschel can you add some docs?

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

4 participants