Permalink
Browse files

fixed default menu modifier (#473)

  • Loading branch information...
1 parent 5839808 commit db11a230f85be1bb037dba693afec1d44b43a665 Jonas Obrist committed May 26, 2010
Showing with 3 additions and 3 deletions.
  1. +1 −1 cms/tests/permmod.py
  2. +2 −2 menus/base.py
View
@@ -651,4 +651,4 @@ def test_16_patricks_move(self):
# check if urls are correct after move
self.assertEqual(pg.publisher_public.get_absolute_url(), u'/master/slave-home/pc/pg/')
- self.assertEqual(ph.publisher_public.get_absolute_url(), u'/master/slave-home/pc/pg/pe/ph/')
+ self.assertEqual(ph.publisher_public.get_absolute_url(), u'/master/slave-home/pc/pg/pe/ph/')
View
@@ -17,7 +17,7 @@ def get_nodes(self, request):
class Modifier(object):
- def modify(self, request, nodes, namespace, id, post_cut):
+ def modify(self, request, nodes, namespace, id, post_cut, breadcrumb):
pass
class NavigationNode(object):
@@ -65,4 +65,4 @@ def get_descendants(self):
for node in self.children:
nodes.append(node)
nodes += node.get_descendants()
- return nodes
+ return nodes

0 comments on commit db11a23

Please sign in to comment.