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:
@@ -38,7 +38,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 %>
|
||||
|
||||
Reference in New Issue
Block a user