Class: Decidim::ReportedContentCell

Inherits:
ViewModel
  • Object
show all
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.

Instance Method Summary collapse

Instance Method Details

#showObject



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, options)
  else
    render :show
  end
end