Closed jwvanderbeck closed 9 years ago
On further examination it appears to be rolling over from one get to the next, to the next, to the next - in other words it IS matching the first, but then it is also matching the more specific ones following it. Maybe this is just a misunderstanding on my part of how to arrange my paths. I thought it would stop at the first match. I'm going to try arranging things from MOST specific to least and see if that works.
Ok that didn't fix it. It still tries to match on /ships/id/ instead of /ships
I'm very confused now.
Hello,
Thank you for reporting this. I added tests for such cases and actually both handlers have been fired. Please use the latest version I just published, it will fix your issue nicely. @1.4.7
Thank again!
I have the following snippet of code:
Defining two paths, one "/ships" and one "/ships/id/:id" - yet whenever I call just plain "/ships" it is the SECOND one, "/ships/id/:id" that is firing! Why would this be?