[Mpuls-commits] r1114 - wasko/branches/2.0/waskaweb/config

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 2 11:20:17 CET 2010


Author: torsten
Date: 2010-02-02 11:20:17 +0100 (Tue, 02 Feb 2010)
New Revision: 1114

Modified:
   wasko/branches/2.0/waskaweb/config/routing.py
Log:
* waskaweb/config/routing.py (make_map): Change route for deleting case documents


Modified: wasko/branches/2.0/waskaweb/config/routing.py
===================================================================
--- wasko/branches/2.0/waskaweb/config/routing.py	2010-02-02 09:06:45 UTC (rev 1113)
+++ wasko/branches/2.0/waskaweb/config/routing.py	2010-02-02 10:20:17 UTC (rev 1114)
@@ -42,7 +42,7 @@
     # CUSTOM ROUTES HERE
     # TAKE CARE OF ORDER HERE!!! FIRST RULE THAT MATCH WILL BE USED!
     map.connect('', controller='waska', action='index')
-    map.connect('document/caseDelete/:id/:case/:confirmed', action="caseDelete", controller="document") 
+    map.connect('casedocument/delete/:id/:case/:confirmed', action="delete", controller="casedocument") 
     map.connect('case/markForDelete/:id/:confirmed', controller="case", action="markForDelete")
     map.connect('case/deleteAppointment/:id/:confirmed', controller="case", action="deleteAppointment")
     map.connect('case/delete/:id/:confirmed', controller="case", action="delete")



More information about the Mpuls-commits mailing list