Class: Decidim::Votings::VotingMetadataCell

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

Constructor Details

#initializeVotingMetadataCell

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