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,
|
prefix: prefix,
|
||||||
depth: depth,
|
depth: depth,
|
||||||
urlParameters: urlParameters,
|
urlParameters: urlParameters,
|
||||||
callback: routes.routes.callback,
|
callback: sorted[i].callback,
|
||||||
route: routes.routes.route
|
route: sorted[i].route
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue