Sha256: 1c8ce262929b47f5a90931cc36169deb45b74552008751c179d7474885907ffc
Contents?: true
Size: 343 Bytes
Versions: 14
Compression:
Stored size: 343 Bytes
Contents
# frozen_string_literal: true module Decidim module ContentBlocks class MetricsCell < Decidim::ViewModel def show return unless current_organization.show_statistics? render end def metrics @metrics ||= MetricChartsPresenter.new(organization: current_organization) end end end end
Version data entries
14 entries across 14 versions & 1 rubygems