Sha256: 41b5fe474890dd64bc2b9817804232f564b868d716a882b84d6a03d7a7913065

Contents?: true

Size: 518 Bytes

Versions: 37

Compression:

Stored size: 518 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module ParticipatoryProcessGroups
    class ContentBlockCell < Decidim::Admin::ContentBlockCell
      delegate :scoped_resource, to: :controller

      def edit_content_block_path
        decidim_participatory_processes.edit_participatory_process_group_landing_page_content_block_path(scoped_resource, manifest_name)
      end

      def decidim_participatory_processes
        Decidim::ParticipatoryProcesses::AdminEngine.routes.url_helpers
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
decidim-participatory_processes-0.27.9 app/cells/decidim/participatory_process_groups/content_block_cell.rb
decidim-participatory_processes-0.27.8 app/cells/decidim/participatory_process_groups/content_block_cell.rb
decidim-participatory_processes-0.27.7 app/cells/decidim/participatory_process_groups/content_block_cell.rb
decidim-participatory_processes-0.27.6 app/cells/decidim/participatory_process_groups/content_block_cell.rb
decidim-participatory_processes-0.26.10 app/cells/decidim/participatory_process_groups/content_block_cell.rb
decidim-participatory_processes-0.26.9 app/cells/decidim/participatory_process_groups/content_block_cell.rb
decidim-participatory_processes-0.27.5 app/cells/decidim/participatory_process_groups/content_block_cell.rb
decidim-participatory_processes-0.26.8 app/cells/decidim/participatory_process_groups/content_block_cell.rb
decidim-participatory_processes-0.27.4 app/cells/decidim/participatory_process_groups/content_block_cell.rb
decidim-participatory_processes-0.27.3 app/cells/decidim/participatory_process_groups/content_block_cell.rb
decidim-participatory_processes-0.26.7 app/cells/decidim/participatory_process_groups/content_block_cell.rb
decidim-participatory_processes-0.26.5 app/cells/decidim/participatory_process_groups/content_block_cell.rb
decidim-participatory_processes-0.27.2 app/cells/decidim/participatory_process_groups/content_block_cell.rb
decidim-participatory_processes-0.27.1 app/cells/decidim/participatory_process_groups/content_block_cell.rb
decidim-participatory_processes-0.26.4 app/cells/decidim/participatory_process_groups/content_block_cell.rb
decidim-participatory_processes-0.27.0 app/cells/decidim/participatory_process_groups/content_block_cell.rb
decidim-participatory_processes-0.26.3 app/cells/decidim/participatory_process_groups/content_block_cell.rb
decidim-participatory_processes-0.27.0.rc2 app/cells/decidim/participatory_process_groups/content_block_cell.rb
decidim-participatory_processes-0.27.0.rc1 app/cells/decidim/participatory_process_groups/content_block_cell.rb
decidim-participatory_processes-0.26.2 app/cells/decidim/participatory_process_groups/content_block_cell.rb