Skip to content

Commit e2b712a

Browse files
committed
Temporarily comment out broken thing
1 parent a6ae469 commit e2b712a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/table_of_contents_helpers.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ module TableOfContentsHelpers
1010
# This is due to the lack of abstraction for the test checking whether to render a resource
1111
# as a single item or an item the tree of its children
1212
# See: https://github.com/alphagov/tech-docs-gem/blob/207bcb8593197f3aad8983018ca0a91db7783410/lib/govuk_tech_docs/table_of_contents/helpers.rb#L74
13-
def render_page_tree(resources, *args)
14-
return "" if resources == @parent_page&.children
13+
# def render_page_tree(resources, *args)
14+
# return "" if resources == @parent_page&.children
1515

16-
super(resources, *args)
17-
end
16+
# super(resources, *args)
17+
# end
1818

1919
##
2020
# Temporarily excludes the children of the given page

0 commit comments

Comments
 (0)