Class: Decidim::PhotosListCell

Inherits:
ViewModel
  • Object
show all
Includes:
Cell::ViewModel::Partial
Defined in:
app/cells/decidim/photos_list_cell.rb

Overview

This cell renders the photos list

Instance Method Summary collapse

Instance Method Details

#showObject



8
9
10
11
12
# File 'app/cells/decidim/photos_list_cell.rb', line 8

def show
  return unless model.any?

  render
end