Sha256: 733f1e96b6dfbc4dc18d6f59d18846fa2208752adbeb402dfd07b567a0d77a55
Contents?: true
Size: 567 Bytes
Versions: 26
Compression:
Stored size: 567 Bytes
Contents
# frozen_string_literal: true require "decidim/core" 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.webpacker.assets_path" do Decidim.register_assets_path File.expand_path("app/packs", root) end end end end
Version data entries
26 entries across 26 versions & 1 rubygems