decidim-comments/lib/decidim/comments/comment_serializer.rb in decidim-0.2.0 vs decidim-comments/lib/decidim/comments/comment_serializer.rb in decidim-0.3.0
- old
+ new
@@ -28,10 +28,10 @@
end
private
def root_commentable_url
- @root_commentable_url ||= decidim_resource_url(resource.root_commentable)
+ @root_commentable_url ||= Decidim::ResourceLocatorPresenter.new(resource.root_commentable).url
end
end
end
end