You can clone with
No one assigned
Is it possible to implement a PUT method as the post one.
My uploaded file_url is a part of a document containing some informations as "name", "description" etc.
I would like to be able to update the file_url for a specific document.
So I tried to use the code in my form :
<%= s3_uploader_form post: edit_medium_path(@medium), as: "medium[file_url]", id: "myS3Uploader" do %>
<%= file_field_tag :file, multiple: false %>
<% end %>
But, it doesn't work cos update method need PUT not POST.
I tried to use the Create method passing the id with the data: option but I don't really understand how to use it and if it is possible.
Thanks for your help.
Yes, there is now an option you can pass to the helper method callback_method in which you can specific the method, see the readme for an example.