Class: Decidim::Accountability::ContentBlocks::HighlightedResultsCell
- Inherits:
-
ContentBlocks::HighlightedElementsCell
- Object
- ContentBlocks::HighlightedElementsCell
- Decidim::Accountability::ContentBlocks::HighlightedResultsCell
- Includes:
- ActiveSupport::NumberHelper, Cell::ViewModel::Partial, ApplicationHelper, IconHelper
- Defined in:
- app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb
Instance Method Summary collapse
Methods included from ApplicationHelper
#active_class_if_current, #categories_label, #display_count, #display_percentage, #heading_leaf_level_results, #heading_parent_level_results, #subcategories_label
Instance Method Details
#base_relation ⇒ Object
12 13 14 |
# File 'app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb', line 12 def base_relation @base_relation ||= Decidim::Accountability::Result.where(component: published_components) end |