Skip to content

Commit

Permalink
Fix form helper name
Browse files Browse the repository at this point in the history
  • Loading branch information
axlwaii committed Nov 17, 2015
1 parent d572951 commit c6d7e12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ 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:
Use the `s3_uploader_form` 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 c6d7e12

Please sign in to comment.