Extract link to verify account to a mehtod

We were using the same text and the same route in many places.
This commit is contained in:
Javi Martín
2019-10-01 22:19:20 +02:00
parent f8bd3d4f39
commit 86a205c8fc
14 changed files with 17 additions and 18 deletions

View File

@@ -24,7 +24,7 @@
<% else %>
<div class="callout warning margin-top">
<%= t("budgets.investments.index.sidebar.verified_only",
verify: link_to(t("users.verify_account"), verification_path)).html_safe %>
verify: link_to_verify_account).html_safe %>
</div>
<% end %>
<% else %>