diff options
Diffstat (limited to 'app/views/blog_posts/show.html.erb')
-rw-r--r-- | app/views/blog_posts/show.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/blog_posts/show.html.erb b/app/views/blog_posts/show.html.erb index 6fea210..57b2f92 100644 --- a/app/views/blog_posts/show.html.erb +++ b/app/views/blog_posts/show.html.erb @@ -21,7 +21,7 @@ <hr /> <h2><%= t('.comments.title') %></h2> <% comments.each do |comment| %> - <div class='blog_comment_message'> + <div class='blog_comment_message' id='<%= "comment-#{comment.to_param}" %>'> <p> <%= comment.message.to_s.gsub("\r\n\r\n", "</p><p>").gsub("\r\n", "<br/>") %> </p> |