Class: Decidim::ReportedContentCell
- Inherits:
-
ViewModel
- Object
- ViewModel
- Decidim::ReportedContentCell
- Defined in:
- decidim-core/app/cells/decidim/reported_content_cell.rb
Overview
This cell renders a specific cells for the resource if it was configured in the component’s manifest or a default cell.
Direct Known Subclasses
Debates::ReportedContentCell, Meetings::ReportedContentCell, Proposals::CollaborativeDrafts::ReportedContentCell, Proposals::ReportedContentCell
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
7 8 9 10 11 12 13 |
# File 'decidim-core/app/cells/decidim/reported_content_cell.rb', line 7 def show if resource_cell? cell(resource_cell, model, ) else render :show end end |