Skip to content

Commit

Permalink
Merge pull request #228 from dladowitz/patch-1
Browse files Browse the repository at this point in the history
missing '_form'
  • Loading branch information
mcfiredrill committed Dec 14, 2015
2 parents d572951 + 9c40180 commit 2cbf0f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -55,7 +55,7 @@ Add the following js and css to your asset pipeline:
## Usage
Use the `s3_uploader` helper to add an s3 upload file field to your view:
```ruby
<%= s3_uploader callback_url: model_url, callback_param: "model[image_url]", id: "s3-uploader" do %>
<%= s3_uploader_form callback_url: model_url, callback_param: "model[image_url]", id: "s3-uploader" do %>
<%= file_field_tag :file, multiple: true, data: { url: s3_uploader_url } %>
<% end %>
```
Expand Down

0 comments on commit 2cbf0f7

Please sign in to comment.