Closed hlarsen closed 11 years ago
Thanks!
I think this should actually be fixed in the route API to make the trailing slash optional:
get '/:name/?' do
# ...
end
Same with /:name/:version
.
word - using this an an excuse to learn ruby. looks like my fix breaks --persistent anyway; deferring to you on this one.
No problem! Contributions are always welcome. Just send a PR on the addons API. That should fix it.
trailing slash was being added when version wasn't specified, which would point to the wrong url.