Fix bug where the link to the terms and privacy page wasn't always correct
This commit is contained in:
parent
4330541be6
commit
55eae298a4
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
|||
<% end %>
|
||||
</span>
|
||||
<span class='globalFooter-sub-item'>
|
||||
<%= link_to( t("footer.terms_and_privacy"), controller: :static, action: :terms_and_privacy) %>
|
||||
<%= link_to( t("footer.terms_and_privacy"), :static_terms_and_privacy) %>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<div class="container">
|
||||
<span>© <%= Time.current.year %> <%= Settings.general.name %></span>
|
||||
<% if Settings.terms_and_privacy&.about_url %><span><%= link_to("About", Settings.terms_and_privacy.about_url) %></span><% end %>
|
||||
<span><%= link_to( t("footer.terms_and_privacy"), controller: :static, action: :terms_and_privacy) %></span>
|
||||
<span><%= link_to( t("footer.terms_and_privacy"), :static_terms_and_privacy) %></span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue