aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/app.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2013-05-14 14:24:27 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2013-05-14 14:24:27 -0500
commitf7a5c7c78c6dcf3dcb3b81efbedc9a333df49fb7 (patch)
tree7e491dac697f975fbeb9e69c53bd454d7ac108d3 /mediagoblin/app.py
parent725404236ef66884e53e0ef83264524768cefb9c (diff)
downloadmediagoblin-f7a5c7c78c6dcf3dcb3b81efbedc9a333df49fb7.tar.lz
mediagoblin-f7a5c7c78c6dcf3dcb3b81efbedc9a333df49fb7.tar.xz
mediagoblin-f7a5c7c78c6dcf3dcb3b81efbedc9a333df49fb7.zip
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!
Diffstat (limited to 'mediagoblin/app.py')
-rw-r--r--mediagoblin/app.py1
1 files changed, 1 insertions, 0 deletions
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