From 40ca2ccee466101aee9739f4c1a779443724749d Mon Sep 17 00:00:00 2001 From: Lynne Davis Date: Sun, 25 Sep 2016 14:41:11 +0100 Subject: [PATCH] Updating TOS url in confirmation email to refer to content_config --- app/views/layouts/mailer.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/mailer.html.haml b/app/views/layouts/mailer.html.haml index 4f9b3d78c1..a00a35a5e0 100644 --- a/app/views/layouts/mailer.html.haml +++ b/app/views/layouts/mailer.html.haml @@ -42,7 +42,7 @@ %tr %td{:align => "center"} %p - %a{:href => "#{ URI.join(spree.root_url, "Terms-of-service.pdf").to_s }", :target => "_blank"} + %a{:href => "#{ URI.join(spree.root_url, ContentConfig.footer_tos_url).to_s }", :target => "_blank"} = t :terms_of_service | %a{:href => "#{ spree.root_url }"}