X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6db326aa1f084a062a3b658876bc01bf650f5702..c5fc9f0e7e93088c599ae0d8540ee0117f277d6d:/app/views/diary_entries/_diary_entry.html.erb?ds=sidebyside diff --git a/app/views/diary_entries/_diary_entry.html.erb b/app/views/diary_entries/_diary_entry.html.erb index 5674a37b7..c7dbec386 100644 --- a/app/views/diary_entries/_diary_entry.html.erb +++ b/app/views/diary_entries/_diary_entry.html.erb @@ -37,7 +37,7 @@ <% end %> - <% if current_user && current_user.administrator? %> + <% if can? :hide, DiaryEntry %>