Class: Decidim::Budgets::BaseCell
- Inherits:
-
ViewModel
- Object
- ViewModel
- Decidim::Budgets::BaseCell
- Includes:
- ComponentPathHelper
- Defined in:
- app/cells/decidim/budgets/base_cell.rb
Overview
This cell has the commons for the budgets cells
Direct Known Subclasses
BudgetInformationModalCell, BudgetListItemCell, BudgetsHeaderCell, BudgetsListCell, LimitAnnouncementCell, ProjectVotedHintCell
Instance Method Summary collapse
Instance Method Details
#budgets_link_list(budgets) ⇒ Object
13 14 15 16 17 |
# File 'app/cells/decidim/budgets/base_cell.rb', line 13 def budgets_link_list(budgets) budgets.map { |budget| link_to(decidim_escape_translated(budget.title), resource_locator(budget).path) } .to_sentence .html_safe end |