Class: Decidim::Meetings::MeetingSOverridesCell
- Inherits:
-
MeetingMCell
- Object
- MeetingMCell
- Decidim::Meetings::MeetingSOverridesCell
- Defined in:
- app/cells/decidim/meetings/meeting_s_overrides_cell.rb
Overview
This cell renders the Small (:s) meeting card for an given instance of a Meeting
Instance Method Summary collapse
- #meeting_path ⇒ Object
- #participatory_space_class_name ⇒ Object
- #participatory_space_path ⇒ Object
- #participatory_space_title ⇒ Object
- #presenter ⇒ Object
Instance Method Details
#meeting_path ⇒ Object
10 11 12 |
# File 'app/cells/decidim/meetings/meeting_s_overrides_cell.rb', line 10 def meeting_path resource_locator(model).path end |
#participatory_space_class_name ⇒ Object
14 15 16 |
# File 'app/cells/decidim/meetings/meeting_s_overrides_cell.rb', line 14 def participatory_space_class_name model.component.participatory_space.class.model_name.human end |
#participatory_space_path ⇒ Object
22 23 24 |
# File 'app/cells/decidim/meetings/meeting_s_overrides_cell.rb', line 22 def participatory_space_path resource_locator(model.component.participatory_space).path end |
#participatory_space_title ⇒ Object
18 19 20 |
# File 'app/cells/decidim/meetings/meeting_s_overrides_cell.rb', line 18 def participatory_space_title translated_attribute model.component.participatory_space.title end |