Class: Decidim::ContentBlocks::HighlightedContentBannerCell

Inherits:
ViewModel
  • Object
show all
Includes:
SanitizeHelper
Defined in:
decidim-core/app/cells/decidim/content_blocks/highlighted_content_banner_cell.rb

Instance Method Summary collapse

Instance Method Details

#showObject


8
9
10
11
12
# File 'decidim-core/app/cells/decidim/content_blocks/highlighted_content_banner_cell.rb', line 8

def show
  return unless current_organization.highlighted_content_banner_enabled

  render
end