Sha256: c7f32d7e59e7ef0c338817a35f275cd811e8adf47daa30c80e4216daf093eb73
Contents?: true
Size: 612 Bytes
Versions: 13
Compression:
Stored size: 612 Bytes
Contents
# frozen_string_literal: true module Decidim module ParticipatoryProcesses module ContentBlocks class MetricsCell < Decidim::ContentBlocks::ParticipatorySpaceMetricsCell include ParticipatorySpaceContentBlocksHelper private def metrics @metrics ||= ParticipatoryProcessMetricChartsPresenter.new(participatory_process: resource) end def scope "participatory_process" end def show_all_path decidim_participatory_processes.all_metrics_participatory_process_path(resource) end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems