Skip to content

Commit

Permalink
Fix undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mjackson committed Aug 29, 2014
1 parent 5864531 commit 94c7a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/helpers/makePath.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 94c7a35

Please sign in to comment.