Fix bug where the link to the terms and privacy page wasn't always correct

This commit is contained in:
Eric Schultz 2018-07-10 15:09:34 -05:00
parent 4330541be6
commit 55eae298a4
2 changed files with 2 additions and 2 deletions

View file

@ -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>

View file

@ -5,7 +5,7 @@
<div class="container">
<span>&copy; <%= 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>