Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
form_for needs <%=, thanks @johnallen3d !
Browse files Browse the repository at this point in the history
  • Loading branch information
qrush committed Oct 11, 2011
1 parent 47a56c2 commit d808aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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 %>

Expand Down

0 comments on commit d808aa6

Please sign in to comment.