From f7a5c7c78c6dcf3dcb3b81efbedc9a333df49fb7 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Tue, 14 May 2013 14:24:27 -0500 Subject: Fully working context hooks, both template/view and global level, with tests Needs documentation though... that's coming next :) This commit sponsored by Luca Tius. Thanks Luca! --- mediagoblin/app.py | 1 + 1 file changed, 1 insertion(+) (limited to 'mediagoblin/app.py') diff --git a/mediagoblin/app.py b/mediagoblin/app.py index 3ebaa45b..1984ce77 100644 --- a/mediagoblin/app.py +++ b/mediagoblin/app.py @@ -188,6 +188,7 @@ class MediaGoblinApp(object): mg_request.setup_user_in_request(request) + request.controller_name = None try: found_rule, url_values = map_adapter.match(return_rule=True) request.matchdict = url_values -- cgit v1.2.3