seneca-web-adapter-express.js
function unsecuredRoute(seneca, options, context, method, middleware, route) {
  const routeArgs = [route.path].concat(middleware).concat([
    (request, reply, next) => {
      handleRoute(seneca, options, request, reply, route, next)
    }
  ])

  context[method].apply(context, routeArgs)
}
function unsecuredRoute(seneca, options, context, method, middleware, route) {
  const routeArgs = [route.path].concat(middleware).concat([
    (request, reply, next) => {
      handleRoute(seneca, options, request, reply, route, next)
    }
  ])

  context[method].apply(context, routeArgs)
}
function unsecuredRoute ( seneca , options , context , method , middleware , route ) { const routeArgs = [ route . path ] . concat ( middleware ) . concat ( [ ( request , reply , next ) => { handleRoute ( seneca , options , request , reply , route , next ) } ] ) context [ method ] . apply ( context , routeArgs ) }
Unsecured routes just call the handler directly, no magic.
Unsecured routes just call the handler directly no magic .