Skip to content
Browse files

error_messages_for removed in Rails 3.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7903 e93f8b46-1217-0410-a6f0-8f06a7374b81
  • Loading branch information...
1 parent 45f4fdb commit 8b7de1e400325bebc9f3a0a5f943307d649929e3 @jplang jplang committed Nov 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/news/_form.html.erb
View
2 app/views/news/_form.html.erb
@@ -1,4 +1,4 @@
-<%= error_messages_for 'news' %>
+<%= f.error_messages %>
<div class="box tabular">
<p><%= f.text_field :title, :required => true, :size => 60 %></p>
<p><%= f.text_area :summary, :cols => 60, :rows => 2 %></p>

0 comments on commit 8b7de1e

Please sign in to comment.
Something went wrong with that request. Please try again.