Skip to content

Commit

Permalink
[svn] Fixing bug in dispatch_on not calling function right.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
bbangert committed Jun 4, 2006
1 parent f2e7e8b commit 56edc3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylons/decorators/rest.py
Expand Up @@ -51,7 +51,7 @@ def dispatcher(func, self, *args, **kw):
if alt_method:
alt_method = getattr(self, alt_method)
return self._inspect_call(alt_method, **kw)
return self.func(self, *args, **kw)
return func(self, *args, **kw)
return dispatcher
return decorator(entangle)

Expand Down

0 comments on commit 56edc3d

Please sign in to comment.