We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6ae469 commit e2b712aCopy full SHA for e2b712a
1 file changed
lib/table_of_contents_helpers.rb
@@ -10,11 +10,11 @@ module TableOfContentsHelpers
10
# This is due to the lack of abstraction for the test checking whether to render a resource
11
# as a single item or an item the tree of its children
12
# 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
+ # def render_page_tree(resources, *args)
+ # return "" if resources == @parent_page&.children
15
16
- super(resources, *args)
17
- end
+ # super(resources, *args)
+ # end
18
19
##
20
# Temporarily excludes the children of the given page
0 commit comments