Class: Decidim::Proposals::ProposalLinkedResourcesCell

Inherits:
ViewModel
  • Object
show all
Defined in:
app/cells/decidim/proposals/proposal_linked_resources_cell.rb

Overview

This cell renders the linked resource of a proposal.

Instance Method Summary collapse

Instance Method Details

#showObject



9
10
11
# File 'app/cells/decidim/proposals/proposal_linked_resources_cell.rb', line 9

def show
  render if linked_resource
end