Corrected shipherd handling of the navigation_items related_name following commit...
[philo.git] / models / nodes.py
index a89d653..8d33d43 100644 (file)
@@ -73,7 +73,7 @@ class Node(TreeEntity):
                else:
                        domain = ""
                
-               if not path:
+               if not path or subpath == "/":
                        subpath = subpath[1:]
                
                return '%s%s%s%s' % (domain, root_url, path, subpath)