
Matthieu Rousseau
Joined
610 Experience
6 Lessons Completed
0 Questions Solved
Activity
Hi Adam and Franklin,
I had a similar issue using a Profile model and rendering a _profile_mention.html.erb
partial for the mentions.
Adding this to_trix_content_attachment_partial_path
method pointing to my _profile_mention.html.erb
partial did the trick when editing my rich text.
But when displaying my rich text (@article.content), it still renders the _profile.html.erb
partial.
Any idea how I could fix that please?