Chris McDonough
2012-02-26 46eccc677d8a4995ac08023b1b7c41b79c171fed
fix instance creation
1 files modified
2 ■■■ changed files
docs/narr/hooks.rst 2 ●●● patch | view | raw | blame | history
docs/narr/hooks.rst
@@ -776,7 +776,7 @@
           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