Use settings helper

This commit is contained in:
Fernando Blat
2017-01-03 08:55:17 +01:00
parent ca2370eb7c
commit 76bc1a7934
3 changed files with 3 additions and 3 deletions

View File

@@ -50,7 +50,7 @@
<ul>
<li>
<%= t("verification.letter.new.office",
office: link_to(t("verification.letter.new.offices"), Setting['verification_offices_url'],
office: link_to(t("verification.letter.new.offices"), setting['verification_offices_url'],
target: "blank")).html_safe %>
</li>
<li>

View File

@@ -12,7 +12,7 @@
<div data-alert class="callout success">
<%= t("verification.letter.create.flash.success_html",
offices: link_to(t("verification.letter.create.flash.offices"),
Setting['verification_offices_url'],
setting['verification_offices_url'],
title: t('shared.target_blank_html'),
target: "_blank")).html_safe
%>

View File

@@ -6,7 +6,7 @@
</button>
<%= t("verification.residence.new.error_verifying_census",
offices: link_to( t("verification.residence.new.error_verifying_census_offices"),
Setting['verification_offices_url'], title: t('shared.target_blank_html'), target: "_blank")).html_safe %>
setting['verification_offices_url'], title: t('shared.target_blank_html'), target: "_blank")).html_safe %>
</div>
<% else %>