Skip to content

Commit 9cf0d8e

Browse files
authored
Merge pull request #190 from joyofrails/feat/newsletter-signature
Add signature to newsletter emails
2 parents 98fcd1e + 2fde8d3 commit 9cf0d8e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<%= render Markdown::Base.new(@newsletter.content.html_safe) %>
22

3+
--Ross
4+
5+
P.S. You can also <%= link_to "visit Joy of Rails to view this email", newsletter_url(@newsletter) %>.
6+
37
<hr>
48

59
<%= link_to "Unsubscribe", @unsubscribe_url %> | <%= Rails.application.credentials.company.mailing_address %>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<%= @newsletter.content %>
22

3+
-- Ross
4+
5+
P.S. [You can also visit Joy of Rails to view this email](<%= newsletter_url(@newsletter) %>).
6+
37
* * *
48

59
[Unsubscribe](<%= @unsubscribe_url %>) | <%= Rails.application.credentials.company.mailing_address %>

0 commit comments

Comments
 (0)