From 55eae298a4aaa4db44c099b12d3bcb92d9d569e9 Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Tue, 10 Jul 2018 15:09:34 -0500 Subject: [PATCH] Fix bug where the link to the terms and privacy page wasn't always correct --- app/views/components/_footer_sub.html.erb | 2 +- app/views/layouts/_apified_footer.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/components/_footer_sub.html.erb b/app/views/components/_footer_sub.html.erb index 89d29235..7438816e 100644 --- a/app/views/components/_footer_sub.html.erb +++ b/app/views/components/_footer_sub.html.erb @@ -18,7 +18,7 @@ <% end %> - <%= link_to( t("footer.terms_and_privacy"), controller: :static, action: :terms_and_privacy) %> + <%= link_to( t("footer.terms_and_privacy"), :static_terms_and_privacy) %> diff --git a/app/views/layouts/_apified_footer.html.erb b/app/views/layouts/_apified_footer.html.erb index 2a8cefe1..5dc68d48 100644 --- a/app/views/layouts/_apified_footer.html.erb +++ b/app/views/layouts/_apified_footer.html.erb @@ -5,7 +5,7 @@
© <%= Time.current.year %> <%= Settings.general.name %> <% if Settings.terms_and_privacy&.about_url %><%= link_to("About", Settings.terms_and_privacy.about_url) %><% end %> - <%= link_to( t("footer.terms_and_privacy"), controller: :static, action: :terms_and_privacy) %> + <%= link_to( t("footer.terms_and_privacy"), :static_terms_and_privacy) %>