From 94c7a353db14aafd934e4ba8f86610b77a21677d Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Fri, 29 Aug 2014 01:44:16 -0700 Subject: [PATCH] Fix undefined variable --- modules/helpers/makePath.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);