Sha256: 1e5da77aa094f58a6aa42aeafb74fdcea50743d364df7099c30badeadc9877e9
Contents?: true
Size: 526 Bytes
Versions: 6
Compression:
Stored size: 526 Bytes
Contents
# frozen_string_literal: true module Decidim module ParticipatoryProcessGroups module ContentBlocks class StatsCell < Decidim::ViewModel def stats @stats ||= Decidim::ParticipatoryProcesses::ParticipatoryProcessGroupStatsPresenter.new(participatory_process_group: participatory_process_group) end def participatory_process_group @participatory_process_group ||= Decidim::ParticipatoryProcessGroup.find(model.scoped_resource_id) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems