docs: function (params) {
      var pathname = this.pathname;
  
      for (var key in params) {
        pathname = pathname.replace(":" + key, params[key]);
      }
  
      pathname = pathname.replace(/\:[^\/]+/g, void 0);
  
      var redirectRoute = this.routes.find({ pathname: pathname, params: params });
  
      if (redirectRoute !== this) {
        return redirectRoute.getPathnameWithParams(params);
      }
  
      return pathname;
    }