Sha256: 3bbb8c83c24d359276e5cbf7e078f3f6d3cd590f0e5d835cca89345331bf1332
Contents?: true
Size: 816 Bytes
Versions: 4
Compression:
Stored size: 816 Bytes
Contents
module Decidim module ProcessGroupsContentBlock class Engine < ::Rails::Engine isolate_namespace Decidim::ProcessGroupsContentBlock initializer "decidim_process_groups_content_block.add_cells_view_paths" do Cell::ViewModel.view_paths << File.expand_path("#{Decidim::ProcessGroupsContentBlock::Engine.root}/app/cells") end initializer 'decidim_process_groups_content_block.content_blocks' do |app| Decidim.content_blocks.register(:homepage, :highlighted_process_groups) do |content_block| content_block.cell = "decidim/process_groups_content_block/content_blocks/highlighted_process_groups" content_block.public_name_key = "decidim.process_groups_content_block.content_blocks.highlighted_process_groups.name" end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems