Sha256: eba1e7e68c9dc302e53d0e5f9288d58c959a7518886064539e78eab63aeae383
Contents?: true
Size: 1.79 KB
Versions: 3
Compression:
Stored size: 1.79 KB
Contents
# frozen_string_literal: true require "decidim/proposals/admin" require "decidim/proposals/engine" require "decidim/proposals/admin_engine" require "decidim/proposals/component" require "acts_as_list" module Decidim # This namespace holds the logic of the `Proposals` component. This component # allows users to create proposals in a participatory process. module Proposals autoload :ProposalSerializer, "decidim/proposals/proposal_serializer" autoload :CommentableProposal, "decidim/proposals/commentable_proposal" autoload :CommentableCollaborativeDraft, "decidim/proposals/commentable_collaborative_draft" autoload :MarkdownToProposals, "decidim/proposals/markdown_to_proposals" autoload :ParticipatoryTextSection, "decidim/proposals/participatory_text_section" include ActiveSupport::Configurable # Public Setting that defines the similarity minimum value to consider two # proposals similar. Defaults to 0.25. config_accessor :similarity_threshold do 0.25 end # Public Setting that defines how many similar proposals will be shown. # Defaults to 10. config_accessor :similarity_limit do 10 end # Public Setting that defines how many proposals will be shown in the # participatory_space_highlighted_elements view hook config_accessor :participatory_space_highlighted_proposals_limit do 4 end # Public Setting that defines how many proposals will be shown in the # process_group_highlighted_elements view hook config_accessor :process_group_highlighted_proposals_limit do 3 end end module ContentParsers autoload :ProposalParser, "decidim/content_parsers/proposal_parser" end module ContentRenderers autoload :ProposalRenderer, "decidim/content_renderers/proposal_renderer" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
decidim-proposals-0.15.2 | lib/decidim/proposals.rb |
decidim-proposals-0.15.1 | lib/decidim/proposals.rb |
decidim-proposals-0.15.0 | lib/decidim/proposals.rb |