diff options
Diffstat (limited to 'app/helpers/nodes_helper.rb')
| -rw-r--r-- | app/helpers/nodes_helper.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/helpers/nodes_helper.rb b/app/helpers/nodes_helper.rb index 48f44f8b..fa3cc443 100644 --- a/app/helpers/nodes_helper.rb +++ b/app/helpers/nodes_helper.rb | |||
| @@ -70,8 +70,4 @@ module NodesHelper | |||
| 70 | path = node.unique_path | 70 | path = node.unique_path |
| 71 | CccConventions::NODE_KINDS.select { |_, config| config[:parent_match]&.call(path) } | 71 | CccConventions::NODE_KINDS.select { |_, config| config[:parent_match]&.call(path) } |
| 72 | end | 72 | end |
| 73 | |||
| 74 | def sitemap_node_open?(node) | ||
| 75 | !CccConventions::SITEMAP_COLLAPSED_PATHS.include?(node.unique_name) | ||
| 76 | end | ||
| 77 | end | 73 | end |
