Wizard.registerRouter('iron:router', {
  go: function(name, stepId) {
    Router.go(name, this.getParams(stepId));
  },
  getParams: function(stepId) {
    return Tracker.nonreactive(function() {
      var route = Router.current()
        , params = route.params || {};
    
      return _.extend(params, {step: stepId});
    });
  },
  getStep: function() {
    var current = Router.current();
    return current && current.params.step;
  },
  path: function(name, stepId) {
    return Router.path(name, this.getParams(stepId));
  }
});
Wizard.registerRouter('iron:router', {
  go: function(name, stepId) {
    var p = {};
    if( !!this.getParams(stepId).query && $.param(this.getParams(stepId).query) != "" ) p.query = $.param(this.getParams(stepId).query);
    if( !!this.getParams(stepId).hash ) p.hash = this.getParams(stepId).hash;
    Router.go(name, this.getParams(stepId), p);
  },
  getParams: function(stepId) {
    return Tracker.nonreactive(function() {
      var route = Router.current()
        , params = route.params || {};
    
      return _.extend(params, {step: stepId});
    });
  },
  getStep: function() {
    var current = Router.current();
    return current && current.params.step;
  },
  path: function(name, stepId) {
    return Router.path(name, this.getParams(stepId));
  }
});
Fix for query and hash string consistency in url
Fix for query and hash string consistency in url
