Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow controllers to handle request_method #10
Per @wichert from another ticket comment: "Can't you define a separate resource there? Alternatively it shouldn't be too hard to make the request method for a controller configurable."
Is it ok if I work on pull request for this? Basic idea would be to allow:
The goal for this is to allow multiple GET views on a single resource.
Gave it a try with:
File "/Users/paul/projects/moonshot/env34/lib/python3.4/site-packages/rest_toolkit/init.py", line 108, in callback
That line has:
Here is my code: