Sha256: 0f523c73fc4cde10603b35599b5e8e51a3fcf9192f47ffa4c42f77a5d07adf41
Contents?: true
Size: 841 Bytes
Versions: 5
Compression:
Stored size: 841 Bytes
Contents
# frozen_string_literal: true 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 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
5 entries across 5 versions & 1 rubygems