Sha256: 004427b3ecaf325339cf6aa3366d37e3ef3e040b6b325a33c64e93c7c2aca140

Contents?: true

Size: 514 Bytes

Versions: 13

Compression:

Stored size: 514 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Meetings
    module ContentBlocks
      class RegistryManager
        def self.register!
          Decidim.content_blocks.register(:homepage, :upcoming_meetings) do |content_block|
            content_block.cell = "decidim/meetings/content_blocks/highlighted_meetings"
            content_block.public_name_key = "decidim.meetings.content_blocks.upcoming_meetings.name"
            content_block.default!
          end
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-meetings-0.29.1 lib/decidim/meetings/content_blocks/registry_manager.rb
decidim-meetings-0.28.4 lib/decidim/meetings/content_blocks/registry_manager.rb
decidim-meetings-0.29.0 lib/decidim/meetings/content_blocks/registry_manager.rb
decidim-meetings-0.28.3 lib/decidim/meetings/content_blocks/registry_manager.rb
decidim-meetings-0.29.0.rc4 lib/decidim/meetings/content_blocks/registry_manager.rb
decidim-meetings-0.29.0.rc3 lib/decidim/meetings/content_blocks/registry_manager.rb
decidim-meetings-0.29.0.rc2 lib/decidim/meetings/content_blocks/registry_manager.rb
decidim-meetings-0.29.0.rc1 lib/decidim/meetings/content_blocks/registry_manager.rb
decidim-meetings-0.28.2 lib/decidim/meetings/content_blocks/registry_manager.rb
decidim-meetings-0.28.1 lib/decidim/meetings/content_blocks/registry_manager.rb
decidim-meetings-0.28.0 lib/decidim/meetings/content_blocks/registry_manager.rb
decidim-meetings-0.28.0.rc5 lib/decidim/meetings/content_blocks/registry_manager.rb
decidim-meetings-0.28.0.rc4 lib/decidim/meetings/content_blocks/registry_manager.rb