Sha256: fe24ba4ad3748997aed87a4072368875b87a31d9b9370942cd3a676bf441fce8
Contents?: true
Size: 592 Bytes
Versions: 76
Compression:
Stored size: 592 Bytes
Contents
# frozen_string_literal: true require "cell/partial" module Decidim module Proposals # This cell renders the highlighted proposals for a given participatory # space. It is intended to be used in the `participatory_space_highlighted_elements` # view hook. class HighlightedProposalsCell < Decidim::ViewModel include ProposalCellsHelper private def published_components Decidim::Component .where( participatory_space: model, manifest_name: :proposals ) .published end end end end
Version data entries
76 entries across 76 versions & 1 rubygems