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