X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ed54379218d21b9bd52933903e8cb504a15dfe7e..5c74a6517cbc5aa4aa958abd0737da8892f58a45:/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 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 %>
-