Sha256: 36c892cecc2d7f15b73ded66f7b2cdcfcb1725463f4613aa68a8c4ae1ec71bbe
Contents?: true
Size: 558 Bytes
Versions: 25
Compression:
Stored size: 558 Bytes
Contents
# frozen_string_literal: true module Decidim module Forms # This is the engine that runs on the public interface of `decidim-forms`. class Engine < ::Rails::Engine isolate_namespace Decidim::Forms initializer "decidim_forms.add_cells_view_paths" do Cell::ViewModel.view_paths << File.expand_path("#{Decidim::Forms::Engine.root}/app/cells") end initializer "decidim_forms.assets" do |app| app.config.assets.precompile += %w(decidim_forms_manifest.js decidim_forms_manifest.css) end end end end
Version data entries
25 entries across 25 versions & 1 rubygems