branch | stable |
changeset 3566 | 521337e71fbb |
parent 3348 | 97dca770c028 |
child 3578 | 7f026d15cc82 |
--- a/entities/__init__.py Tue Oct 06 17:12:26 2009 +0200 +++ b/entities/__init__.py Tue Oct 06 17:13:08 2009 +0200 @@ -183,6 +183,8 @@ """return (path, parameters) which should be used as redirect information when this entity is being deleted """ + if self.parent(): + return self.parent().rest_path(), {} return str(self.e_schema).lower(), {} def pre_web_edit(self):