¿Es posible pasar parámetros a la API que crea los Community Links?

Ah, y dado que hay una condición typeof args === "function", podrías hacer algo como esto inmediatamente:

api.addCommunitySectionLink((Base) =
  class CustomLink extends Base {
    get name() {
      return "intersection-navigator";
    }

    get route() {
      return "tag.show";
    }

    get models() {
      return ["tagid"];
    }

    get title() {
      return I18n.t("tag_intersection_navigator.link.title");
    }

    get text() {
      return I18n.t("tag_intersection_navigator.link.text");
    }

  }
);
1 me gusta