Sha256: a484c11536faae456276977373db21f7c04d930686d2fbc0154f0874b580934e

Contents?: true

Size: 383 Bytes

Versions: 37

Compression:

Stored size: 383 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module ParticipatoryProcessGroups
    module ContentBlocks
      class MetadataCell < Decidim::ViewModel
        include Decidim::SanitizeHelper

        def participatory_process_group
          @participatory_process_group ||= Decidim::ParticipatoryProcessGroup.find(model.scoped_resource_id)
        end
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
decidim-participatory_processes-0.27.9 app/cells/decidim/participatory_process_groups/content_blocks/metadata_cell.rb
decidim-participatory_processes-0.27.8 app/cells/decidim/participatory_process_groups/content_blocks/metadata_cell.rb
decidim-participatory_processes-0.27.7 app/cells/decidim/participatory_process_groups/content_blocks/metadata_cell.rb
decidim-participatory_processes-0.27.6 app/cells/decidim/participatory_process_groups/content_blocks/metadata_cell.rb
decidim-participatory_processes-0.26.10 app/cells/decidim/participatory_process_groups/content_blocks/metadata_cell.rb
decidim-participatory_processes-0.26.9 app/cells/decidim/participatory_process_groups/content_blocks/metadata_cell.rb
decidim-participatory_processes-0.27.5 app/cells/decidim/participatory_process_groups/content_blocks/metadata_cell.rb
decidim-participatory_processes-0.26.8 app/cells/decidim/participatory_process_groups/content_blocks/metadata_cell.rb
decidim-participatory_processes-0.27.4 app/cells/decidim/participatory_process_groups/content_blocks/metadata_cell.rb
decidim-participatory_processes-0.27.3 app/cells/decidim/participatory_process_groups/content_blocks/metadata_cell.rb
decidim-participatory_processes-0.26.7 app/cells/decidim/participatory_process_groups/content_blocks/metadata_cell.rb
decidim-participatory_processes-0.26.5 app/cells/decidim/participatory_process_groups/content_blocks/metadata_cell.rb
decidim-participatory_processes-0.27.2 app/cells/decidim/participatory_process_groups/content_blocks/metadata_cell.rb
decidim-participatory_processes-0.27.1 app/cells/decidim/participatory_process_groups/content_blocks/metadata_cell.rb
decidim-participatory_processes-0.26.4 app/cells/decidim/participatory_process_groups/content_blocks/metadata_cell.rb
decidim-participatory_processes-0.27.0 app/cells/decidim/participatory_process_groups/content_blocks/metadata_cell.rb
decidim-participatory_processes-0.26.3 app/cells/decidim/participatory_process_groups/content_blocks/metadata_cell.rb
decidim-participatory_processes-0.27.0.rc2 app/cells/decidim/participatory_process_groups/content_blocks/metadata_cell.rb
decidim-participatory_processes-0.27.0.rc1 app/cells/decidim/participatory_process_groups/content_blocks/metadata_cell.rb
decidim-participatory_processes-0.26.2 app/cells/decidim/participatory_process_groups/content_blocks/metadata_cell.rb