Permalink
Browse files

fix instance creation

  • Loading branch information...
mcdonc committed Feb 26, 2012
1 parent 07965cd commit 46eccc677d8a4995ac08023b1b7c41b79c171fed
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/narr/hooks.rst
View
@@ -776,7 +776,7 @@ as keyword arguments.
def wrapper(context, request):
matchdict = request.matchdict.copy()
matchdict.pop('action', None)
- inst = view()
+ inst = view(request)
meth = getattr(inst, attr)
return meth(**matchdict)
return wrapper

0 comments on commit 46eccc6

Please sign in to comment.