diff --git a/modules/helpers/makePath.js b/modules/helpers/makePath.js index f650b2db4a..dd7785e0cf 100644 --- a/modules/helpers/makePath.js +++ b/modules/helpers/makePath.js @@ -8,7 +8,7 @@ var Path = require('./Path'); */ function makePath(to, params, query) { var path; - if (Path.isAbsolute(path)) { + if (Path.isAbsolute(to)) { path = Path.normalize(to); } else { var route = RouteStore.getRouteByName(to);