X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1a5adb2a4afba349edabce6ed84883df0b9a1879..a128b4f585cb2f75ad1057d0b7c5af6713ed4186:/app/views/diary_entries/_diary_comment.html.erb diff --git a/app/views/diary_entries/_diary_comment.html.erb b/app/views/diary_entries/_diary_comment.html.erb index c3c68fbc9..dbf8a439e 100644 --- a/app/views/diary_entries/_diary_comment.html.erb +++ b/app/views/diary_entries/_diary_comment.html.erb @@ -10,7 +10,7 @@

<%= diary_comment.body.to_html %>
- <% if can? :hidecomment, DiaryEntry %> + <% if can? :hide, DiaryComment %> <% if diary_comment.visible? %> <%= link_to t(".hide_link"), hide_diary_comment_path(diary_comment.diary_entry.user, diary_comment.diary_entry, diary_comment), :method => :post, :data => { :confirm => t(".confirm") } %>