docs: function createRedirect(options) {
        return Route.createRoute(assign({}, options, {
          path: options.path || options.from || '*',
          onEnter: function onEnter(transition, params, query) {
            transition.redirect(options.to, options.params || params, options.query || query);
          }
        }));
      }