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