Fixing unscrible link

This commit is contained in:
yafeilee 2016-04-27 14:09:47 +08:00
parent 1e2255e14f
commit 0f83d3b127
3 changed files with 12 additions and 10 deletions

View File

@ -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)

View File

@ -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

View File

@ -7,3 +7,5 @@
被评论博客: <%= @comment.post.title %>
访问这里回复: <%= blog_url(@comment.post) %>
退订: <%= unsubscribes_url %>