Sha256: e8490ea043a23a6ad83b2e5ef183bd4270a1fe9abff2cf5cbef62675519a0131
Contents?: true
Size: 512 Bytes
Versions: 25
Compression:
Stored size: 512 Bytes
Contents
# frozen_string_literal: true module Decidim module Admin class AttachmentsPrivacyWarningCell < Decidim::ViewModel delegate :current_participatory_space, to: :controller private def private_space? current_participatory_space.private_space if current_participatory_space.respond_to?(:private_space) end def transparent_space? current_participatory_space.is_transparent if current_participatory_space.respond_to?(:is_transparent) end end end end
Version data entries
25 entries across 25 versions & 1 rubygems