Skip to content

Commit

Permalink
Merge pull request waynehoover#120 from brianewing/master
Browse files Browse the repository at this point in the history
Fix typo in README example
  • Loading branch information
waynehoover committed Sep 26, 2013
2 parents aab015b + b87193f commit 119f006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Optionally, you can also place this template in the same view for the progress b

### Example with all options
```ruby
<%= s3_uploader_form callback_url: model_url, callback_method: "POST", callback_param: "model[image_url]", key: "files/{timestamp}-{unique_id}-#{SecureRandom.hex}/${filename}", key_starts_with: "files/", acl: "public_read", max_file_size: 50.megabytes, id: "s3-uploader", class: "upload-form", data: {:key => :val} do %>
<%= s3_uploader_form callback_url: model_url, callback_method: "POST", callback_param: "model[image_url]", key: "files/{timestamp}-{unique_id}-#{SecureRandom.hex}/${filename}", key_starts_with: "files/", acl: "public-read", max_file_size: 50.megabytes, id: "s3-uploader", class: "upload-form", data: {:key => :val} do %>
<%= file_field_tag :file, multiple: true %>
<% end %>
```
Expand Down

0 comments on commit 119f006

Please sign in to comment.