web/views/boxes.py
branchtls-sprint
changeset 1540 996355824825
parent 1539 b0d583d30508
child 1672 2406667c90d6
--- a/web/views/boxes.py	Wed Apr 29 11:53:08 2009 +0200
+++ b/web/views/boxes.py	Wed Apr 29 12:13:47 2009 +0200
@@ -72,8 +72,8 @@
         to a new entity ('create' mode) or to an existant entity ('link' mode)
         """
         if role == 'subject':
-            return cls.rmode.rtag(rtype, role, etype, targettype)
-        return cls.rmode.rtag(rtype, role, targettype, etype)
+            return cls.rmode.get(rtype, role, etype, targettype)
+        return cls.rmode.get(rtype, role, targettype, etype)
 
 
     def call(self, view=None, **kwargs):