Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to override _method in routing? #118

Open
cve opened this issue Jul 10, 2014 · 1 comment
Open

How to override _method in routing? #118

cve opened this issue Jul 10, 2014 · 1 comment
Assignees
Milestone

Comments

@cve
Copy link

cve commented Jul 10, 2014

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?

@sheeep sheeep added this to the Version 2.0 milestone Jul 18, 2014
@sheeep sheeep self-assigned this Jul 18, 2014
@sheeep
Copy link
Contributor

sheeep commented Jul 18, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants