• Sean McGivern's avatar
    Don't add a trailing slash in group redirects · 9f921b73
    Sean McGivern authored
    Because we ignored the format, a request to `/groups/foo/labels.json` would
    redirect to `/groups/foo/-/labels/.json`. But really, it's worse than that,
    because unless the request contained a trailing slash, we shouldn't add one.
    
    Now, we only _keep_ a trailing slash, but don't _add_ one.
    9f921b73
routing.rb 1.7 KB