lib/decidim/conferences/participatory_space.rb in decidim-conferences-0.20.1 vs lib/decidim/conferences/participatory_space.rb in decidim-conferences-0.21.0
- old
+ new
@@ -13,9 +13,11 @@
participatory_space.data_portable_entities = [
"Decidim::Conferences::ConferenceRegistration",
"Decidim::Conferences::ConferenceInvite"
]
+ participatory_space.query_type = "Decidim::Conferences::ConferenceType"
+
participatory_space.register_resource(:conference) do |resource|
resource.model_class_name = "Decidim::Conference"
resource.card = "decidim/conferences/conference"
resource.searchable = true
end