Class: Decidim::Meetings::HighlightedMeetingsForComponentCell

Inherits:
ViewModel
  • Object
show all
Includes:
CardHelper, ComponentPathHelper
Defined in:
app/cells/decidim/meetings/highlighted_meetings_for_component_cell.rb

Overview

This cell renders the highlighted meetings for a given component. It is intended to be used in the ‘participatory_space_highlighted_elements` view hook.

Instance Method Summary collapse

Instance Method Details

#showObject



14
15
16
# File 'app/cells/decidim/meetings/highlighted_meetings_for_component_cell.rb', line 14

def show
  render unless meetings_count.zero?
end