Class: Decidim::Votings::VotingMetadataCell
- Inherits:
-
CardMetadataCell
- Object
- CardMetadataCell
- Decidim::Votings::VotingMetadataCell
- Defined in:
- app/cells/decidim/votings/voting_metadata_cell.rb
Overview
This cell renders metadata for an instance of a Voting
Instance Method Summary collapse
-
#initialize ⇒ VotingMetadataCell
constructor
A new instance of VotingMetadataCell.
Constructor Details
#initialize ⇒ VotingMetadataCell
Returns a new instance of VotingMetadataCell.
9 10 11 12 13 |
# File 'app/cells/decidim/votings/voting_metadata_cell.rb', line 9 def initialize(*) super @items.prepend(*voting_items) end |