Class: Decidim::Budgets::BudgetMetadataCell

Inherits:
CardMetadataCell
  • Object
show all
Defined in:
app/cells/decidim/budgets/budget_metadata_cell.rb

Overview

This cell renders metadata for an instance of a budget

Instance Method Summary collapse

Constructor Details

#initializeBudgetMetadataCell

Returns a new instance of BudgetMetadataCell.



9
10
11
12
13
# File 'app/cells/decidim/budgets/budget_metadata_cell.rb', line 9

def initialize(*)
  super

  @items.prepend(*budget_items)
end