Sha256: 4744d9e2d231180f578d2e5f7d1e4c80729989088ee6b7c5563d829b8816018a
Contents?: true
Size: 569 Bytes
Versions: 13
Compression:
Stored size: 569 Bytes
Contents
# frozen_string_literal: true module Decidim module Assemblies class ContentBlockCell < Decidim::Admin::ContentBlockCell delegate :scoped_resource, to: :controller def edit_content_block_path decidim_assemblies.edit_assembly_landing_page_content_block_path(scoped_resource, model) end def content_block_path decidim_assemblies.assembly_landing_page_content_block_path(scoped_resource, model) end def decidim_assemblies Decidim::Assemblies::AdminEngine.routes.url_helpers end end end end
Version data entries
13 entries across 13 versions & 1 rubygems