app/models/decidim/proposals/proposal.rb in decidim-proposals-0.2.0 vs app/models/decidim/proposals/proposal.rb in decidim-proposals-0.3.0

- old
+ new

@@ -85,12 +85,12 @@ # Public: Overrides the `comments_have_votes?` Commentable concern method. def comments_have_votes? true end - # Public: Overrides the `reported_content` Reportable concern method. - def reported_content - "<h3>#{title}</h3><p>#{body}</p>" + # Public: Overrides the `reported_content_url` Reportable concern method. + def reported_content_url + ResourceLocatorPresenter.new(self).url end end end end