resource-router-middleware icon indicating copy to clipboard operation
resource-router-middleware copied to clipboard

Avoid /:undefined when resource `id` is not defined

Open nuxy opened this issue 7 years ago • 0 comments

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.

nuxy avatar Jan 06 '19 05:01 nuxy