[Mpuls-commits] r2779 - in base/trunk: . mpulsweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed May 26 18:59:19 CEST 2010
Author: bh
Date: 2010-05-26 18:59:18 +0200 (Wed, 26 May 2010)
New Revision: 2779
Modified:
base/trunk/ChangeLog
base/trunk/mpulsweb/controllers/usersettings.py
Log:
* mpulsweb/controllers/usersettings.py
(UsersettingsController.editStandinAction): Use h.url_for
consistently for all-intra application URLs.
Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog 2010-05-26 16:57:35 UTC (rev 2778)
+++ base/trunk/ChangeLog 2010-05-26 16:59:18 UTC (rev 2779)
@@ -1,5 +1,11 @@
2010-05-26 Bernhard Herzog <bh at intevation.de>
+ * mpulsweb/controllers/usersettings.py
+ (UsersettingsController.editStandinAction): Use h.url_for
+ consistently for all-intra application URLs.
+
+2010-05-26 Bernhard Herzog <bh at intevation.de>
+
* mpulsweb/controllers/settings.py
(SettingsController.editAction): Use h.url_for consistently for
all-intra application URLs.
Modified: base/trunk/mpulsweb/controllers/usersettings.py
===================================================================
--- base/trunk/mpulsweb/controllers/usersettings.py 2010-05-26 16:57:35 UTC (rev 2778)
+++ base/trunk/mpulsweb/controllers/usersettings.py 2010-05-26 16:59:18 UTC (rev 2779)
@@ -166,7 +166,8 @@
c.dialog_title = EDIT_STANDIN_SUCCESS_HEADER
c.dialog_text = EDIT_STANDIN_SUCCESS_TEXT
uid = c.form_result.get('uid')
- c.url_ok = "/usersettings/showSettings/%s" % (uid)
+ c.url_ok = h.url_for(controller='/usersettings', action='showSettings',
+ id=uid)
return render ('/usersettings/dialogs/success_edit_standin.mako')
# vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8:
More information about the Mpuls-commits
mailing list