summaryrefslogtreecommitdiff
path: root/app/models/spam_log.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/spam_log.rb')
-rw-r--r--app/models/spam_log.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/spam_log.rb b/app/models/spam_log.rb
index 12df68ef83b..3b8b9833565 100644
--- a/app/models/spam_log.rb
+++ b/app/models/spam_log.rb
@@ -7,4 +7,8 @@ class SpamLog < ActiveRecord::Base
user.block
user.destroy
end
+
+ def text
+ [title, description].join("\n")
+ end
end