Class: Decidim::PhotosListCell
- Inherits:
-
ViewModel
- Object
- ViewModel
- Decidim::PhotosListCell
- 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
#show ⇒ Object
8 9 10 11 12 |
# File 'app/cells/decidim/photos_list_cell.rb', line 8 def show return unless model.any? render end |