From c4cd15423c995b0b5fc94dcbfa67d19f887bcfbc Mon Sep 17 00:00:00 2001 From: summerscope Date: Tue, 6 May 2014 17:40:02 +1000 Subject: [PATCH] Add email link with reverse --- app/views/home/_beta.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/home/_beta.html.haml b/app/views/home/_beta.html.haml index 318608edb4..ba6993cb68 100644 --- a/app/views/home/_beta.html.haml +++ b/app/views/home/_beta.html.haml @@ -8,6 +8,6 @@ %p Want to help? Or find out when OFN is coming to you? %strong We’d love to hear from you: %p - %a{title:'Food buyers', href: '/food-buyers'} Food buyers + %a{href: "hello@openfoodnetwork.org".reverse, target: '_blank', mailto: true} Food buyers | - %a{title:'Food producers & farmers', href: '/food-producers'} Food producers & farmers \ No newline at end of file + %a{href: "hello@openfoodnetwork.org".reverse, target: '_blank', mailto: true} Food producers & farmers \ No newline at end of file