Commit 544f3b5
committed
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 <[email protected]>1 parent f8d280b commit 544f3b5
2 files changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | | - | |
| 88 | + | |
90 | 89 | | |
91 | 90 | | |
92 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
233 | 237 | | |
234 | 238 | | |
235 | 239 | | |
| |||
0 commit comments