Permalink
Browse files

fix forgettable typo

  • Loading branch information...
1 parent 6aa0248 commit cee4c502378fcf4b5b714ec57dd84751fe6596d4 @uniphil uniphil committed Mar 26, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 flask_classy.py
View
@@ -153,11 +153,11 @@ def make_proxy_method(cls, name):
view = getattr(i, name)
@functools.wraps(view)
- def proxy(**forgetable_view_args):
- # Always pass the global request object's view_args, because they
+ def proxy(**forgettable_view_args):
+ # Always use the global request object's view_args, because they
# can be modified by intervening function before an endpoint or
# wrapper gets called. This matches Flask's behavior.
- del forgetable_view_args
+ del forgettable_view_args
if hasattr(i, "before_request"):
i.before_request(name, **request.view_args)

0 comments on commit cee4c50

Please sign in to comment.