lib/decidim/proposals.rb in decidim-proposals-0.10.1 vs lib/decidim/proposals.rb in decidim-proposals-0.11.0.pre1

- old
+ new

@@ -1,11 +1,11 @@ # frozen_string_literal: true require "decidim/proposals/admin" require "decidim/proposals/engine" require "decidim/proposals/admin_engine" -require "decidim/proposals/feature" +require "decidim/proposals/component" module Decidim # This namespace holds the logic of the `Proposals` component. This component # allows users to create proposals in a participatory process. module Proposals @@ -35,7 +35,15 @@ # 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