lib/decidim/votings/voting_serializer.rb in decidim-elections-0.24.3 vs lib/decidim/votings/voting_serializer.rb in decidim-elections-0.25.0.rc1

- old
+ new

@@ -34,9 +34,10 @@ end private attr_reader :voting + alias resource voting def translated_voting_type translation_hash = {} voting.organization.available_locales.each do |locale| translation_hash[locale] = I18n.t(voting.voting_type, scope: "decidim.votings.admin.votings.form.voting_type")