Permalink
Browse files

form_for needs <%=, thanks @johnallen3d !

  • Loading branch information...
1 parent 47a56c2 commit d808aa63513ff12b370187efd3f3041b247dbf34 @qrush qrush committed Oct 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -96,7 +96,7 @@ In your migrations:
In your edit and new views:
- <% form_for :user, @user, :url => user_path, :html => { :multipart => true } do |form| %>
+ <%= form_for :user, @user, :url => user_path, :html => { :multipart => true } do |form| %>
<%= form.file_field :avatar %>
<% end %>

0 comments on commit d808aa6

Please sign in to comment.