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
Adding link(), unlink() shorthand functions #2206
Conversation
As LINK and UNLINK have been accepted as allowed method, this PR for shorthand routing functions for them.
My gut feeling is that link and unlink aren't commonly used enough. Thoughts, @silentworks, @codeguy ? |
Adding unit test functions to cover the new two shorthand functions added for the HTTP methods LINK/UNLINK
Updated the unit test to cover the new functions. |
I want to add |
@akrabat I was thinking the same thing, but I don't see any harm for the short-cuts. |
Update unit test for `any()` after adding `LINK` and `UNLINK` to the list of methods.
I don't see any harm in writing it the long way by using |
As LINK and UNLINK have been accepted as allowed method, this PR for shorthand routing functions for them.