Sha256: 0b648e2d1b156b8a02a7c0880e0141bb8076a1f6444e7babedbe0e065b593da2

Contents?: true

Size: 1.16 KB

Versions: 37

Compression:

Stored size: 1.16 KB

Contents

# frozen_string_literal: true

require "decidim/comments/admin"
require "decidim/comments/api"
require "decidim/comments/engine"
require "decidim/comments/admin_engine"

module Decidim
  # This module contains all the logic related to the comments component.
  # It exposes a single entry point as a rails helper method to render
  # a React component which handle all the comments render and logic.
  module Comments
    autoload :CommentsHelper, "decidim/comments/comments_helper"
    autoload :Commentable, "decidim/comments/commentable"
    autoload :CommentableWithComponent, "decidim/comments/commentable_with_component"
    autoload :HasAvailabilityAttributes, "decidim/comments/has_availability_attributes"
    autoload :CommentSerializer, "decidim/comments/comment_serializer"
    autoload :CommentVoteSerializer, "decidim/comments/comment_vote_serializer"
    autoload :Export, "decidim/comments/export"
    autoload :Markdown, "decidim/comments/markdown"

    def self.data_portable_entities
      ["Decidim::Comments::Comment", "Decidim::Comments::CommentVote"]
    end

    def self.newsletter_participant_entities
      ["Decidim::Comments::Comment"]
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
decidim-comments-0.26.8 lib/decidim/comments.rb
decidim-comments-0.27.4 lib/decidim/comments.rb
decidim-comments-0.27.3 lib/decidim/comments.rb
decidim-comments-0.26.7 lib/decidim/comments.rb
decidim-comments-0.26.5 lib/decidim/comments.rb
decidim-comments-0.27.2 lib/decidim/comments.rb
decidim-comments-0.27.1 lib/decidim/comments.rb
decidim-comments-0.26.4 lib/decidim/comments.rb
decidim-comments-0.27.0 lib/decidim/comments.rb
decidim-comments-0.26.3 lib/decidim/comments.rb
decidim-comments-0.27.0.rc2 lib/decidim/comments.rb
decidim-comments-0.27.0.rc1 lib/decidim/comments.rb
decidim-comments-0.26.2 lib/decidim/comments.rb
decidim-comments-0.26.1 lib/decidim/comments.rb
decidim-comments-0.26.0 lib/decidim/comments.rb
decidim-comments-0.26.0.rc2 lib/decidim/comments.rb
decidim-comments-0.26.0.rc1 lib/decidim/comments.rb