X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ed54379218d21b9bd52933903e8cb504a15dfe7e..917d7324a6f1d3f6256b1a541a912ccee84097d1:/app/views/diary_entry/view.html.erb?ds=inline
diff --git a/app/views/diary_entry/view.html.erb b/app/views/diary_entry/view.html.erb
index 63d43158d..7073aa740 100644
--- a/app/views/diary_entry/view.html.erb
+++ b/app/views/diary_entry/view.html.erb
@@ -13,7 +13,7 @@
<%= error_messages_for 'diary_comment' %>
- <%= form_for :diary_comment, @diary_comment, :url => { :action => 'comment' } do |f| %>
+ <%= form_for DiaryComment.new, :url => { :action => 'comment' } do |f| %>
<%= f.text_area :body, :cols => 80, :rows => 5 %>
@@ -22,5 +22,5 @@
<% end %>
<%= if_not_logged_in(:div) do %>
-