-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix multi-method routes to append '(.:format)' only once
Because the same path string is used for each loop when the routes are being built, appending the string using `<<` modifies the original, causing multiple '(.:format)' strings to be appended. This fixes the behavior, resulting in the proper path output. Signed-off-by: Evan Owen <kainosnoema@gmail.com>
- Loading branch information
1 parent
f8d280b
commit 544f3b5
Showing
2 changed files
with
5 additions
and
2 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
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