X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/946deebf4c4799680fee76913752629f150d65f6..281d7992f857e7e7c64947a06470898c35035bb6:/app/views/diary_entries/_diary_entry.html.erb diff --git a/app/views/diary_entries/_diary_entry.html.erb b/app/views/diary_entries/_diary_entry.html.erb index bbc83c740..ef983ebde 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 %>