From f3e7b10e3a2ba8f7e5d2ede8f4c23ed615971a65 Mon Sep 17 00:00:00 2001 From: Frank Celler Date: Sat, 27 Jul 2013 14:26:30 +0200 Subject: [PATCH] fixed overwrite of routes with same path --- js/server/modules/org/arangodb/actions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/server/modules/org/arangodb/actions.js b/js/server/modules/org/arangodb/actions.js index 64e193856a..86f901543b 100644 --- a/js/server/modules/org/arangodb/actions.js +++ b/js/server/modules/org/arangodb/actions.js @@ -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 }; }