app/helpers/decidim/comments/comments_helper.rb in decidim-comments-0.0.1 vs app/helpers/decidim/comments/comments_helper.rb in decidim-comments-0.0.2
- old
+ new
@@ -16,10 +16,10 @@
commentable_id = resource.id.to_s
node_id = "comments-for-#{commentable_type.demodulize}-#{commentable_id}"
react_comments_component(node_id, commentableType: commentable_type,
commentableId: commentable_id,
- options: options.slice(:arguable),
+ options: options.slice(:arguable, :votable),
locale: I18n.locale)
end
# Private: Render Comments component using inline javascript
#