jeudi 14 avril 2022

Append to Ember Rails component?

As a discourse plugin, how can I append to an ember component?

plugins/myplugin/plugin.rb

after_initialize do
  add_to_serializer(:topic, :myplugin_method) do
    # object...
  end
end



Aucun commentaire:

Enregistrer un commentaire