X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/ed54379218d21b9bd52933903e8cb504a15dfe7e..0c2d538aa7394b3d040cbe40cc6b3f5d26de4850:/app/views/diary_entry/_diary_comment.html.erb?ds=inline
diff --git a/app/views/diary_entry/_diary_comment.html.erb b/app/views/diary_entry/_diary_comment.html.erb
index 05cb80157..163af888f 100644
--- a/app/views/diary_entry/_diary_comment.html.erb
+++ b/app/views/diary_entry/_diary_comment.html.erb
@@ -1,7 +1,7 @@
<%= user_thumbnail diary_comment.user %>
-<%= htmlize(diary_comment.body) %>
+<%= diary_comment.body.to_html %>
<%= if_administrator(:span) do %>
- <%= link_to t('diary_entry.diary_comment.hide_link'), {:action => 'hidecomment', :display_name => diary_comment.diary_entry.user.display_name, :id => diary_comment.diary_entry.id, :comment => diary_comment.id}, {:confirm => t('diary_entry.diary_comment.confirm')} %>
+ <%= link_to t('diary_entry.diary_comment.hide_link'), hide_diary_comment_path(:display_name => diary_comment.diary_entry.user.display_name, :id => diary_comment.diary_entry.id, :comment => diary_comment.id), :method => :post, :data=> { :confirm => t('diary_entry.diary_comment.confirm') } %>
<% end %>