Passe os parâmetros de URL para o Child Router Express
In order to pass URL params to a nested router add "{ mergeParams: true }"
to the initialization of the nested router. Example:
// We need to merge params to make userId available in our Items router
const items = require('express').Router({ mergeParams: true });
Energetic Eland