[Mpuls-commits] r1262 - wasko/branches/2.0/mpulsweb/config
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Feb 5 09:34:52 CET 2010
Author: torsten
Date: 2010-02-05 09:34:51 +0100 (Fri, 05 Feb 2010)
New Revision: 1262
Modified:
wasko/branches/2.0/mpulsweb/config/routing.py
Log:
* mpulsweb/config/routing.py (make_map): The index page can now be
configured with the mpuls.app.indexcontroller config var.
Modified: wasko/branches/2.0/mpulsweb/config/routing.py
===================================================================
--- wasko/branches/2.0/mpulsweb/config/routing.py 2010-02-05 08:32:19 UTC (rev 1261)
+++ wasko/branches/2.0/mpulsweb/config/routing.py 2010-02-05 08:34:51 UTC (rev 1262)
@@ -83,7 +83,7 @@
# CUSTOM ROUTES HERE
- map.connect('/', controller='waska', action='index')
+ map.connect('/', controller=config.get('mpuls.app.indexcontroller', 'mpuls'), action='index')
map.connect('/{controller}', action='index')
map.connect('/{controller}/{action}')
map.connect('/{controller}/{action}/{id}')
More information about the Mpuls-commits
mailing list