Skip to content

Instantly share code, notes, and snippets.

@inklesspen
Created January 16, 2009 19:35
Show Gist options
  • Save inklesspen/48073 to your computer and use it in GitHub Desktop.
Save inklesspen/48073 to your computer and use it in GitHub Desktop.
from pylons.decorators import rest
class SomeController(BaseController):
@rest.dispatch_on(POST='some_action_POST')
def some_action(self):
pass
def some_action_POST(self):
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment