From fa52712e359a176eec233b4dc1db124821201106 Mon Sep 17 00:00:00 2001 From: Lynne Davis Date: Mon, 20 Jun 2016 18:32:32 +0100 Subject: [PATCH] More syntax fixes --- app/views/enterprise_mailer/welcome.html.haml | 2 +- app/views/spree/user_mailer/signup_confirmation.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/enterprise_mailer/welcome.html.haml b/app/views/enterprise_mailer/welcome.html.haml index 5f55b51709..655606340d 100644 --- a/app/views/enterprise_mailer/welcome.html.haml +++ b/app/views/enterprise_mailer/welcome.html.haml @@ -13,7 +13,7 @@ = t :email_admin_html, link: link_to('Admin Panel', spree.admin_url) %p - = t :email_community_html, link: link_to("t(:join_the_community)", "#{ ContentConfig.community_forum_url }") + = t :email_community_html, link: link_to(t(:join_the_community)}, "#{ ContentConfig.community_forum_url }") %p = t :email_help diff --git a/app/views/spree/user_mailer/signup_confirmation.html.haml b/app/views/spree/user_mailer/signup_confirmation.html.haml index fe55de9a40..7b5c8587dc 100644 --- a/app/views/spree/user_mailer/signup_confirmation.html.haml +++ b/app/views/spree/user_mailer/signup_confirmation.html.haml @@ -21,7 +21,7 @@ %p.lead = t :email_signup_text %p - = t :email_signup_help_html, email: mail_to(ContentConfig.footer_email, ContentConfig.footer_email) + = t :email_signup_help_html, email: mail_to("#{ContentConfig.footer_email}", "#{ContentConfig.footer_email}") = render 'shared/mailers/signoff'