From ba856ee975257766c3bd75c2301db782065004cb Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Thu, 31 May 2018 12:20:49 -0500 Subject: [PATCH] correct footer terms and privacy link on multiple pages --- app/views/components/_footer_sub.html.erb | 4 ++-- app/views/layouts/_apified_footer.html.erb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/components/_footer_sub.html.erb b/app/views/components/_footer_sub.html.erb index 382709a4..cce410c3 100644 --- a/app/views/components/_footer_sub.html.erb +++ b/app/views/components/_footer_sub.html.erb @@ -8,7 +8,7 @@ - © <%= Time.current.year %> CommitChange + © <%= Time.current.year %> <%= Settings.general.name %> <% if current_user %> @@ -18,7 +18,7 @@ <% end %> - <%= link_to "Terms & Privacy", Format::Url.concat(root_url, "help/terms-of-service-and-privacy-policy") %> + <%= link_to( t("footer.terms_and_privacy"), controller: :static, action: :terms_and_privacy) %> diff --git a/app/views/layouts/_apified_footer.html.erb b/app/views/layouts/_apified_footer.html.erb index af4d7afa..52c507b5 100644 --- a/app/views/layouts/_apified_footer.html.erb +++ b/app/views/layouts/_apified_footer.html.erb @@ -3,9 +3,9 @@ <% if @theme == 'minimal' %>
- © 2018 <%= Settings.general.name %> + © <%= Time.current.year %> <%= Settings.general.name %> About - <%= link_to "Terms & Privacy", controller: :static, action: :terms_and_privacy %> + <%= link_to( t("footer.terms_and_privacy"), controller: :static, action: :terms_and_privacy) %>