Permalink
Browse files

Update scaffold to use <%= form_for

  • Loading branch information...
1 parent c5ff181 commit 3d5d0286b3d60bf7783ac000df9194d28ed1a64c @jeremy jeremy committed Mar 11, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/generators/erb/scaffold/templates/_form.html.erb
@@ -1,4 +1,4 @@
-<%% form_for(@<%= singular_name %>) do |f| %>
+<%%= form_for(@<%= singular_name %>) do |f| %>
<%%= f.error_messages %>
<% for attribute in attributes -%>

0 comments on commit 3d5d028

Please sign in to comment.