resource-router-middleware
resource-router-middleware copied to clipboard
Avoid /:undefined when resource `id` is not defined
Currently, when the id is undefined the router always defaults to /:undefined vs /
The latter result accounts for request methods without the need for the URI fragment.