Sha256: e815e484fce9aa7137c1326aa4a5d2a2fa28fe87344be227c314c388f4f601d2

Contents?: true

Size: 242 Bytes

Versions: 6

Compression:

Stored size: 242 Bytes

Contents

# frozen_string_literal: true

module Decidim
  # This cell renders the photos list
  class PhotosListCell < Decidim::ViewModel
    include Cell::ViewModel::Partial

    def show
      return unless model.any?

      render
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-core-0.29.1 app/cells/decidim/photos_list_cell.rb
decidim-core-0.29.0 app/cells/decidim/photos_list_cell.rb
decidim-core-0.29.0.rc4 app/cells/decidim/photos_list_cell.rb
decidim-core-0.29.0.rc3 app/cells/decidim/photos_list_cell.rb
decidim-core-0.29.0.rc2 app/cells/decidim/photos_list_cell.rb
decidim-core-0.29.0.rc1 app/cells/decidim/photos_list_cell.rb