OneupUploaderBundle
OneupUploaderBundle copied to clipboard
How to override _method in routing?
Hi,
I need to add also GET method for jquery file upload plugin, cause the same url is for retrieve and upload files, how can I do this? Is there any easy way or I need to rewrite RouteLoader class?
Hi @cve
cause the same url is for retrieve and upload files..
I don't really understand the question. What do you mean by retrieve files? After an upload you should return the file in the Response, as far as I remember.
However, having the ability to chose which upload method to use would be a nice addition, as one might want to support PUT requests. I'll assign this to Milestone 2.