Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure to put the slash in for request with query strings too.
- Loading branch information
1 parent
4ed046a
commit 42ad950
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42ad950
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whats the motivation behind this? breaks
GET /products.json
when/products
is the route for router42ad950
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ill see if a patch to router can deal with it
42ad950
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nvm got it, we just have to have the route of
/.:format
now instead of.:format
42ad950
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For consistency, before it would convert empty paths to "/", but not paths like "?foo=bar" since they weren't technically empty. I looked at the failing test on router yesterday and couldn't figure out what's wrong.
42ad950
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
async assertion failures suck unless you know the suite well
42ad950
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, I just searched for the string it was expecting and found the test case.