Sha256: df424f8ba14cfe95c14f9f8db1e520cec8d905f7e5ad62fca88e6d28d6d06e48

Contents?: true

Size: 447 Bytes

Versions: 13

Compression:

Stored size: 447 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Admin
    class HomepageContentBlockCell < ContentBlockCell
      def edit_content_block_path
        decidim_admin.edit_organization_homepage_content_block_path(model)
      end

      def content_block_path
        decidim_admin.organization_homepage_content_block_path(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

Version Path
decidim-admin-0.29.1 app/cells/decidim/admin/homepage_content_block_cell.rb
decidim-admin-0.28.4 app/cells/decidim/admin/homepage_content_block_cell.rb
decidim-admin-0.29.0 app/cells/decidim/admin/homepage_content_block_cell.rb
decidim-admin-0.28.3 app/cells/decidim/admin/homepage_content_block_cell.rb
decidim-admin-0.29.0.rc4 app/cells/decidim/admin/homepage_content_block_cell.rb
decidim-admin-0.29.0.rc3 app/cells/decidim/admin/homepage_content_block_cell.rb
decidim-admin-0.29.0.rc2 app/cells/decidim/admin/homepage_content_block_cell.rb
decidim-admin-0.29.0.rc1 app/cells/decidim/admin/homepage_content_block_cell.rb
decidim-admin-0.28.2 app/cells/decidim/admin/homepage_content_block_cell.rb
decidim-admin-0.28.1 app/cells/decidim/admin/homepage_content_block_cell.rb
decidim-admin-0.28.0 app/cells/decidim/admin/homepage_content_block_cell.rb
decidim-admin-0.28.0.rc5 app/cells/decidim/admin/homepage_content_block_cell.rb
decidim-admin-0.28.0.rc4 app/cells/decidim/admin/homepage_content_block_cell.rb