app/models/decidim/proposals/participatory_text.rb in decidim-proposals-0.22.0 vs app/models/decidim/proposals/participatory_text.rb in decidim-proposals-0.23.0
- old
+ new
@@ -6,8 +6,11 @@
#
class ParticipatoryText < Proposals::ApplicationRecord
include Decidim::HasComponent
include Decidim::Traceable
include Decidim::Loggable
+ include Decidim::TranslatableResource
+
+ translatable_fields :title, :description
end
end
end