X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8938ab79975d4152a4d6d3c8ceafdbda30b6b367..b0ffe17cec6fdd9bb27c1e8a3deb37f46d2d37bf:/app/models/report.rb diff --git a/app/models/report.rb b/app/models/report.rb index 77a967641..1475197fe 100644 --- a/app/models/report.rb +++ b/app/models/report.rb @@ -36,4 +36,8 @@ class Report < ApplicationRecord else %w[other] end end + + def details + RichText.new("markdown", self[:details]) + end end