lib/decidim/accountability/component.rb in decidim-accountability-0.19.1 vs lib/decidim/accountability/component.rb in decidim-accountability-0.20.0
- old
+ new
@@ -15,9 +15,10 @@
component.register_resource(:result) do |resource|
resource.model_class_name = "Decidim::Accountability::Result"
resource.template = "decidim/accountability/results/linked_results"
resource.card = "decidim/accountability/result"
+ resource.searchable = false
end
component.settings(:global) do |settings|
settings.attribute :comments_enabled, type: :boolean, default: true
settings.attribute :intro, type: :text, translated: true, editor: true