From d80bf601e13619fd70930b658287cd7e7ce66b73 Mon Sep 17 00:00:00 2001 From: maatinito <15379878+maatinito@users.noreply.github.com> Date: Thu, 20 Dec 2018 09:50:10 +0100 Subject: [PATCH] [#325] Add support for a footer in layout.html.erb --- app/views/layouts/mailers/layout.html.erb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/views/layouts/mailers/layout.html.erb b/app/views/layouts/mailers/layout.html.erb index 7f387ece8..61f42cf22 100644 --- a/app/views/layouts/mailers/layout.html.erb +++ b/app/views/layouts/mailers/layout.html.erb @@ -116,6 +116,18 @@ + <% if content_for?(:footer) %> + + +

+ — +

+

+ <%= yield(:footer) %> +

+ + + <% end %>