lib/services/attachRoutes.js
function attachDynamicRoute(router, { path, dynamicPage }) {
  return router.get(path, render.renderDynamicRoute(dynamicPage));
}
function attachDynamicRoute(router, { path, dynamicPage }) {
  return router.get(path, render.renderDynamicRoute(dynamicPage));
}
function attachDynamicRoute ( router , { path , dynamicPage } ) { return router . get ( path , render . renderDynamicRoute ( dynamicPage ) ) ; }
Attaches a dynamic route to the router.
@param {Router} router
@param {Object} route
@param {String} route.path
@param {String} route.dynamicPage
@return {Router}
Attaches a dynamic route to the router .