Sha256: 27c8fd6d0cab9c3698dd6e9b1cc82f4ff12a102bff02ce87c3f46553f93c2fd3
Contents?: true
Size: 525 Bytes
Versions: 13
Compression:
Stored size: 525 Bytes
Contents
# frozen_string_literal: true module Decidim module ParticipatoryProcessGroups module ContentBlocks class StatisticsCell < Decidim::ContentBlocks::ParticipatorySpaceStatsCell def stats @stats ||= begin participatory_process_group = Decidim::ParticipatoryProcessGroup.find(model.scoped_resource_id) Decidim::ParticipatoryProcesses::ParticipatoryProcessGroupStatsPresenter.new(participatory_process_group:).collection end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems