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