diff --git a/app/views/comment_mailer/born.html.slim b/app/views/comment_mailer/born.html.slim index 24412cd..bbaa7a8 100644 --- a/app/views/comment_mailer/born.html.slim +++ b/app/views/comment_mailer/born.html.slim @@ -1,12 +1,12 @@ p | 你的博客有新的评论: p - span 来自: + span 来自: = mail_to @comment.email, @comment.name -p 评论内容: +p 评论内容: pre | #{@comment.content} -p - | 博客链接: +p + | 博客链接: = link_to @comment.post.title, blog_url(@comment.post) diff --git a/app/views/comment_mailer/reply.html.slim b/app/views/comment_mailer/reply.html.slim index a238d0a..6a83d0c 100644 --- a/app/views/comment_mailer/reply.html.slim +++ b/app/views/comment_mailer/reply.html.slim @@ -1,11 +1,11 @@ p 你评论过的博客有新的回复: - p 评论人: #{@comment.name} - -p 评论内容: - +p 评论内容: pre #{@comment.content} - p - | 被评论博客: + | 被评论博客: = link_to @comment.post.title, blog_url(@comment.post) +hr +p + | 退订: + = link_to unsubscribes_url, unsubscribes_url diff --git a/app/views/comment_mailer/reply.text.erb b/app/views/comment_mailer/reply.text.erb index 12aa744..a00d362 100644 --- a/app/views/comment_mailer/reply.text.erb +++ b/app/views/comment_mailer/reply.text.erb @@ -7,3 +7,5 @@ 被评论博客: <%= @comment.post.title %> 访问这里回复: <%= blog_url(@comment.post) %> + +退订: <%= unsubscribes_url %>