-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix matching static after dynamic segment (#203)
This commit fixes the route matching logic when a static segment comes after a dynamic segment. For instance, before this commit the path "/5/bar" would match the route definition `/:id/foo`. This commit fixes that error.
- Loading branch information
Showing
1 changed file
with
63 additions
and
48 deletions.
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