Class: Decidim::EnhancedTextwork::ContentBlocks::HighlightedParagraphsCell
- Inherits:
-
ContentBlocks::HighlightedElementsCell
- Object
- ContentBlocks::HighlightedElementsCell
- Decidim::EnhancedTextwork::ContentBlocks::HighlightedParagraphsCell
- Defined in:
- app/cells/decidim/enhanced_textwork/content_blocks/highlighted_paragraphs_cell.rb
Instance Method Summary collapse
Instance Method Details
#base_relation ⇒ Object
7 8 9 |
# File 'app/cells/decidim/enhanced_textwork/content_blocks/highlighted_paragraphs_cell.rb', line 7 def base_relation @base_relation ||= Decidim::EnhancedTextwork::Paragraph.published.not_hidden.except_withdrawn.where(component: published_components) end |