Sha256: 6b6595881cad23e89a32364c5c1c3632c945b4028c15bcc50829bd480f1cabf7

Contents?: true

Size: 232 Bytes

Versions: 13

Compression:

Stored size: 232 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module ContentBlocks
    class StatsCell < Decidim::ViewModel
      def stats
        @stats ||= HomeStatsPresenter.new(organization: current_organization)
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-core-0.25.2 app/cells/decidim/content_blocks/stats_cell.rb
decidim-core-0.25.1 app/cells/decidim/content_blocks/stats_cell.rb
decidim-core-0.25.0 app/cells/decidim/content_blocks/stats_cell.rb
decidim-core-0.25.0.rc4 app/cells/decidim/content_blocks/stats_cell.rb
decidim-core-0.25.0.rc3 app/cells/decidim/content_blocks/stats_cell.rb
decidim-core-0.25.0.rc2 app/cells/decidim/content_blocks/stats_cell.rb
decidim-core-0.25.0.rc1 app/cells/decidim/content_blocks/stats_cell.rb
decidim-core-0.24.3 app/cells/decidim/content_blocks/stats_cell.rb
decidim-core-0.24.2 app/cells/decidim/content_blocks/stats_cell.rb
decidim-core-0.24.1 app/cells/decidim/content_blocks/stats_cell.rb
decidim-core-0.24.0 app/cells/decidim/content_blocks/stats_cell.rb
decidim-core-0.24.0.rc2 app/cells/decidim/content_blocks/stats_cell.rb
decidim-core-0.24.0.rc1 app/cells/decidim/content_blocks/stats_cell.rb