[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[snapshot/master] Make the routing map after initializing the globals, since the map now uses config[app_conf][snapshot.masterdomain]



---
 web/app/snapshot/config/environment.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/web/app/snapshot/config/environment.py b/web/app/snapshot/config/environment.py
index 44026c7..e6975c0 100644
--- a/web/app/snapshot/config/environment.py
+++ b/web/app/snapshot/config/environment.py
@@ -23,8 +23,8 @@ def load_environment(global_conf, app_conf):
     # Initialize config with the basic options
     config.init_app(global_conf, app_conf, package='snapshot', paths=paths)
 
-    config['routes.map'] = make_map()
     config['pylons.app_globals'] = app_globals.Globals()
+    config['routes.map'] = make_map()
     config['pylons.h'] = snapshot.lib.helpers
 
     # Create the Mako TemplateLookup, with the default auto-escaping
-- 
1.5.6.5


Reply to: