Update use of deprecated forms of form_for

This commit is contained in:
Tom Hughes 2011-03-16 00:11:34 +00:00
parent f0d7c4a8d6
commit 4ea63afd24

View file

@ -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 %>
<br />
<br />