Sha256: 28978046e1916a6a21a2ed762e1d7dd9a2f63c5eed0d5d75d2c20b0b731481c3
Contents?: true
Size: 513 Bytes
Versions: 13
Compression:
Stored size: 513 Bytes
Contents
# frozen_string_literal: true module Decidim module Admin class StaticPageContentBlockCell < ContentBlockCell delegate :scoped_resource, to: :controller def edit_content_block_path decidim_admin.edit_static_page_content_block_path(scoped_resource, model) end def content_block_path decidim_admin.static_page_content_block_path(scoped_resource, model) end def decidim_admin Decidim::Admin::Engine.routes.url_helpers end end end end
Version data entries
13 entries across 13 versions & 1 rubygems