Use settings helper
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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
|
||||
%>
|
||||
|
||||
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user