Sha256: 7184e4972146b480697d67df5cff28e1c6fbf870d5116b834c7fbf8e937f5f85
Contents?: true
Size: 518 Bytes
Versions: 37
Compression:
Stored size: 518 Bytes
Contents
# frozen_string_literal: true module Decidim module Admin class ContentBlockCell < Decidim::ViewModel include Decidim::IconHelper delegate :public_name_key, :has_settings?, to: :model def manifest_name model.try(:manifest_name) || model.name end def edit_content_block_path decidim_admin.edit_organization_homepage_content_block_path(manifest_name) end def decidim_admin Decidim::Admin::Engine.routes.url_helpers end end end end
Version data entries
37 entries across 37 versions & 1 rubygems