We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5864531 commit 94c7a35Copy full SHA for 94c7a35
modules/helpers/makePath.js
@@ -8,7 +8,7 @@ var Path = require('./Path');
8
*/
9
function makePath(to, params, query) {
10
var path;
11
- if (Path.isAbsolute(path)) {
+ if (Path.isAbsolute(to)) {
12
path = Path.normalize(to);
13
} else {
14
var route = RouteStore.getRouteByName(to);
0 commit comments