Sha256: 0cefa04801ecd2ae0a17eafc5fb41997db17d8936a0c87b3a8f5a9c07c2e8055

Contents?: true

Size: 543 Bytes

Versions: 31

Compression:

Stored size: 543 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Votings
    module ContentBlocks
      module LandingPage
        class AttachmentsAndFoldersCell < Decidim::ViewModel
          include Cell::ViewModel::Partial
          include Decidim::IconHelper
          include ActiveSupport::NumberHelper
          include Decidim::AttachmentsHelper

          delegate :current_participatory_space, to: :controller

          def show
            attachments_for(current_participatory_space)
          end
        end
      end
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

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