Update use of deprecated forms of form_for
This commit is contained in:
parent
f0d7c4a8d6
commit
4ea63afd24
1 changed files with 1 additions and 1 deletions
|
@ -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 />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue