]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/report.rb
Bump eslint from 8.50.0 to 8.51.0
[rails.git] / app / models / report.rb
index 77a96764125bbc8e839d73773a3fbfa50a5d9aa9..1475197fe34b8e87ab99c550f6d8efb3bdd7e245 100644 (file)
@@ -36,4 +36,8 @@ class Report < ApplicationRecord
     else %w[other]
     end
   end
     else %w[other]
     end
   end
+
+  def details
+    RichText.new("markdown", self[:details])
+  end
 end
 end