From 994560c1b72f474cc2348a7ac78a528d948729d7 Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Thu, 3 Jul 2025 23:06:37 +0200 Subject: [PATCH] Move inside concerns or the override won't work --- app/models/tag/attachable.rb | 6 +++--- app/models/user/attachable.rb | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/models/tag/attachable.rb b/app/models/tag/attachable.rb index 7b0a960e2..37d95b2dd 100644 --- a/app/models/tag/attachable.rb +++ b/app/models/tag/attachable.rb @@ -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 diff --git a/app/models/user/attachable.rb b/app/models/user/attachable.rb index c1505535e..2ffde99c3 100644 --- a/app/models/user/attachable.rb +++ b/app/models/user/attachable.rb @@ -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