Sha256: c2cfe2ef017bdae84f7193ba00417efe0bf5f4627eedc4505a6ae41acad413fa
Contents?: true
Size: 378 Bytes
Versions: 9
Compression:
Stored size: 378 Bytes
Contents
# frozen_string_literal: true module Decidim module ContentBlocks class SubHeroCell < Decidim::ViewModel include Decidim::IconHelper include Decidim::SanitizeHelper def show return if translated_attribute(current_organization.description).blank? render end delegate :current_organization, to: :controller end end end
Version data entries
9 entries across 9 versions & 1 rubygems