decidim-assemblies/lib/decidim/assemblies/participatory_space.rb in decidim-0.6.4 vs decidim-assemblies/lib/decidim/assemblies/participatory_space.rb in decidim-0.6.5
- old
+ new
@@ -2,9 +2,10 @@
Decidim.register_participatory_space(:assemblies) do |participatory_space|
participatory_space.engine = Decidim::Assemblies::Engine
participatory_space.admin_engine = Decidim::Assemblies::AdminEngine
participatory_space.icon = "decidim/assemblies/icon.svg"
+ participatory_space.model_class_name = "Decidim::Assembly"
participatory_space.seeds do
organization = Decidim::Organization.first
seeds_root = File.join(__dir__, "..", "..", "..", "db", "seeds")