Commit d808aa63 by Nick Quaranto

form_for needs <%=, thanks @johnallen3d !

parent 47a56c24
...@@ -96,7 +96,7 @@ In your migrations: ...@@ -96,7 +96,7 @@ In your migrations:
In your edit and new views: 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 %> <%= form.file_field :avatar %>
<% end %> <% end %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment