Class: Decidim::Meetings::ContentBlocks::RegistryManager
- Inherits:
-
Object
- Object
- Decidim::Meetings::ContentBlocks::RegistryManager
- Defined in:
- lib/decidim/meetings/content_blocks/registry_manager.rb
Class Method Summary collapse
Class Method Details
.register! ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/decidim/meetings/content_blocks/registry_manager.rb', line 7 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 |