Move inside concerns or the override won't work

This commit is contained in:
Jorge Manrubia
2025-07-03 23:06:37 +02:00
parent 8071c7b522
commit 994560c1b7
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -3,9 +3,9 @@ module Tag::Attachable
included do
include ActionText::Attachable
end
def attachable_plain_text_representation(...)
"##{title}"
def attachable_plain_text_representation(...)
"##{title}"
end
end
end
+3 -3
View File
@@ -3,9 +3,9 @@ module User::Attachable
included do
include ActionText::Attachable
end
def attachable_plain_text_representation(...)
"@#{first_name.downcase}"
def attachable_plain_text_representation(...)
"@#{first_name.downcase}"
end
end
end