Mercurial > public > src > rhodecode
diff pylons_app/config/middleware.py @ 216:c8162373f214
Cleaned the way based was used to generate submenu for admin, now it's much more clear to use submenu. Cleaned admin and added comment to middleware
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 24 May 2010 22:20:21 +0200 |
parents | 8bdec09436cb |
children | 183c06406127 |
line wrap: on
line diff
--- a/pylons_app/config/middleware.py Mon May 24 22:18:15 2010 +0200 +++ b/pylons_app/config/middleware.py Mon May 24 22:20:21 2010 +0200 @@ -58,7 +58,9 @@ else: app = StatusCodeRedirect(app, [400, 401, 403, 404, 500]) + #enable https redirets based on HTTP_X_URL_SCHEME set by proxy app = HttpsFixup(app) + # Establish the Registry for this application app = RegistryManager(app)