Sha256: 26f00fd86b84e55873a1f281fa3bd72b35271b182cc1760982202a31c006ddaa

Contents?: true

Size: 1.02 KB

Versions: 15

Compression:

Stored size: 1.02 KB

Contents

# frozen_string_literal: true

require "decidim/comments/admin"
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 :AddCommentType, "decidim/comments/api/add_comment_type"
    autoload :CommentMutationType, "decidim/comments/api/comment_mutation_type"
    autoload :CommentType, "decidim/comments/api/comment_type"
    autoload :Commentable, "decidim/comments/commentable"
    autoload :CommentSerializer, "decidim/comments/comment_serializer"
    autoload :CommentVoteSerializer, "decidim/comments/comment_vote_serializer"
    autoload :Export, "decidim/comments/export"

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

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
decidim-comments-0.17.2 lib/decidim/comments.rb
decidim-comments-0.17.1 lib/decidim/comments.rb
decidim-comments-0.16.1 lib/decidim/comments.rb
decidim-comments-0.17.0 lib/decidim/comments.rb
decidim-comments-0.16.0 lib/decidim/comments.rb
decidim-comments-0.15.2 lib/decidim/comments.rb
decidim-comments-0.15.1 lib/decidim/comments.rb
decidim-comments-0.15.0 lib/decidim/comments.rb
decidim-comments-0.14.4 lib/decidim/comments.rb
decidim-comments-0.14.3 lib/decidim/comments.rb
decidim-comments-0.14.2 lib/decidim/comments.rb
decidim-comments-0.14.1 lib/decidim/comments.rb
decidim-comments-0.13.1 lib/decidim/comments.rb
decidim-comments-0.13.0 lib/decidim/comments.rb
decidim-comments-0.13.0.pre1 lib/decidim/comments.rb