diff pylons_app/config/environment.py @ 300:8f7b8e965fe4

fixed 404s added extra validator for magic repo_name path in routes
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 28 Jun 2010 18:09:56 +0200
parents 0e5455fda8fd
children 7e4771a0ff43
line wrap: on
line diff
--- a/pylons_app/config/environment.py	Mon Jun 28 13:54:47 2010 +0200
+++ b/pylons_app/config/environment.py	Mon Jun 28 18:09:56 2010 +0200
@@ -63,6 +63,7 @@
     init_model(sa_engine_db1)
     repo2db_mapper(_get_repos_cached_initial(config['pylons.app_globals']))
     set_available_permissions(config)
+    config['base_path'] = config['pylons.app_globals'].base_path
     # CONFIGURATION OPTIONS HERE (note: all config options will override
     # any Pylons config options)