埋め込みでフルネームを表示する方法

@Canapin はい!すべて正常に動作しました。プラグインの plugin.rb は以下のようになりました。カスタムバージョンのファイルを配置していたパスに問題があったようです。

/custom_views/embed/comments.html.erb

というフォルダに配置しました。

# frozen_string_literal: true

# name: optuma_discourse_custom_embed
# about: A simple plugin to used to customise the template in the forum embeds
# version: 1.0.0
# authors: Optuma Pty Ltd
# url: https://github.com/OptDev/optuma-discourse-custom-embed
# required_version: 2.7.0

after_initialize do
  ::EmbedController.prepend_view_path File.expand_path("../custom_views", __FILE__)
end
「いいね!」 1