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.29.1 lib/decidim/comments.rb
decidim-comments-0.28.4 lib/decidim/comments.rb
decidim-comments-0.27.9 lib/decidim/comments.rb
decidim-comments-0.29.0 lib/decidim/comments.rb
decidim-comments-0.28.3 lib/decidim/comments.rb
decidim-comments-0.27.8 lib/decidim/comments.rb
decidim-comments-0.29.0.rc4 lib/decidim/comments.rb
decidim-comments-0.29.0.rc3 lib/decidim/comments.rb
decidim-comments-0.29.0.rc2 lib/decidim/comments.rb
decidim-comments-0.29.0.rc1 lib/decidim/comments.rb
decidim-comments-0.28.2 lib/decidim/comments.rb
decidim-comments-0.27.7 lib/decidim/comments.rb
decidim-comments-0.28.1 lib/decidim/comments.rb
decidim-comments-0.27.6 lib/decidim/comments.rb
decidim-comments-0.26.10 lib/decidim/comments.rb
decidim-comments-0.26.9 lib/decidim/comments.rb
decidim-comments-0.28.0 lib/decidim/comments.rb
decidim-comments-0.27.5 lib/decidim/comments.rb
decidim-comments-0.28.0.rc5 lib/decidim/comments.rb
decidim-comments-0.28.0.rc4 lib/decidim/comments.rb