mirror of https://gitee.com/bigwinds/arangodb
fixed overwrite of routes with same path
This commit is contained in:
parent
ae7bf284ef
commit
f3e7b10e3a
|
@ -861,8 +861,8 @@ function flattenRouting (routes, path, urlParameters, depth, prefix) {
|
|||
prefix: prefix,
|
||||
depth: depth,
|
||||
urlParameters: urlParameters,
|
||||
callback: routes.routes.callback,
|
||||
route: routes.routes.route
|
||||
callback: sorted[i].callback,
|
||||
route: sorted[i].route
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue