Class: Decidim::Conferences::PhotosListCell

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

Overview

This cell renders the photos list

Instance Method Summary collapse

Instance Method Details

#showObject



11
12
13
14
15
# File 'app/cells/decidim/conferences/photos_list_cell.rb', line 11

def show
  return unless model.any?

  render
end