Merge pull request #3581 from consul/duplicate_translations

Avoid duplicate records using translations
This commit is contained in:
Javier Martín
2019-06-06 13:08:05 +02:00
committed by GitHub
13 changed files with 138 additions and 16 deletions

View File

@@ -36,7 +36,7 @@
verify_account: link_to(t("votes.verify_account"), verification_path),
signin: link_to(t("votes.signin"), new_user_session_path),
signup: link_to(t("votes.signup"), new_user_registration_path),
supported_headings: (current_user && current_user.headings_voted_within_group(investment.group).map(&:name).to_sentence)
supported_headings: (current_user && current_user.headings_voted_within_group(investment.group).map(&:name).sort.to_sentence)
).html_safe %>
</small>
</p>