Skip to content

Conversation

philipdouglas
Copy link
Contributor

No description provided.

If you don't call it, it doesn't work.
Previously, using uppercase for the method argument would silently fail
to route those methods.
lovelydinosaur added a commit that referenced this pull request Jun 21, 2013
Fixed a couple of small problems I found when using the action decorator.
@lovelydinosaur lovelydinosaur merged commit 8b0d411 into encode:master Jun 21, 2013
@lovelydinosaur
Copy link
Collaborator

I've dropped the @action() change you made to the docs - that's not required. Without arguments @action will work just fine. The whitespacing and the HTTP method name case-insensitivity changes are good tho. 👍

@mindlace-mp
Copy link
Contributor

Really? It didn't work for me without the ().

On Fri, Jun 21, 2013 at 2:27 PM, Tom Christie notifications@github.comwrote:

I've dropped the @action() change you made to the docs - that's not
required. Without arguments @action will work just fine. The whitespacing
and the HTTP method name case-insensitivity changes are good tho. [image:
👍]


Reply to this email directly or view it on GitHubhttps://github.com//pull/941#issuecomment-19841780
.

lovelydinosaur added a commit that referenced this pull request Jun 21, 2013
@lovelydinosaur
Copy link
Collaborator

Apologies - you're absolutely right.
It would be nice if they weren't required, but my decorator creating magicks are not up to much.

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

Successfully merging this pull request may close these issues.

3 participants