Sha256: 8928fad91a35f3955de673cd98487d01d7e67f81bce78e2aeb7b478f4f50df52

Contents?: true

Size: 357 Bytes

Versions: 13

Compression:

Stored size: 357 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Assemblies
    # A presenter to render statistics in an Assembly.
    class AssemblyStatsPresenter < Decidim::StatsPresenter
      include Decidim::IconHelper

      private

      def participatory_space = __getobj__.fetch(:assembly)

      def participatory_space_sym = :assemblies
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-assemblies-0.29.1 app/presenters/decidim/assemblies/assembly_stats_presenter.rb
decidim-assemblies-0.28.4 app/presenters/decidim/assemblies/assembly_stats_presenter.rb
decidim-assemblies-0.29.0 app/presenters/decidim/assemblies/assembly_stats_presenter.rb
decidim-assemblies-0.28.3 app/presenters/decidim/assemblies/assembly_stats_presenter.rb
decidim-assemblies-0.29.0.rc4 app/presenters/decidim/assemblies/assembly_stats_presenter.rb
decidim-assemblies-0.29.0.rc3 app/presenters/decidim/assemblies/assembly_stats_presenter.rb
decidim-assemblies-0.29.0.rc2 app/presenters/decidim/assemblies/assembly_stats_presenter.rb
decidim-assemblies-0.29.0.rc1 app/presenters/decidim/assemblies/assembly_stats_presenter.rb
decidim-assemblies-0.28.2 app/presenters/decidim/assemblies/assembly_stats_presenter.rb
decidim-assemblies-0.28.1 app/presenters/decidim/assemblies/assembly_stats_presenter.rb
decidim-assemblies-0.28.0 app/presenters/decidim/assemblies/assembly_stats_presenter.rb
decidim-assemblies-0.28.0.rc5 app/presenters/decidim/assemblies/assembly_stats_presenter.rb
decidim-assemblies-0.28.0.rc4 app/presenters/decidim/assemblies/assembly_stats_presenter.rb