X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bb22e23dfb923fd543973a73f161e6e295eaa465..0e6d4f18dabf9ccf00567886d8e373dbef1f6966:/app/views/diary_entry/view.html.erb diff --git a/app/views/diary_entry/view.html.erb b/app/views/diary_entry/view.html.erb index b1159195d..6a2a21abc 100644 --- a/app/views/diary_entry/view.html.erb +++ b/app/views/diary_entry/view.html.erb @@ -21,7 +21,7 @@ <%= richtext_area :diary_comment, :body, :cols => 80, :rows => 15 %> <%= submit_tag t('diary_entry.view.save_button') %> <% end %> - <% if @user and @entry.subscribers and @entry.subscribers.exists?(@user.id) %> + <% if @user and @entry.subscribers.exists?(@user.id) %>
<% elsif @user %>