get nav selection working for the module nav
This commit is contained in:
parent
3d18a3a124
commit
e1d822b893
@ -84,7 +84,7 @@ def item_tree(item, options = {})
|
||||
contents = unless options[:omit_self]
|
||||
item_opts = {
|
||||
:current_item => item,
|
||||
:selected => item.identifier == @item.identifier,
|
||||
:selected => !!@item.identifier[item.identifier],
|
||||
:crumb => item[:crumb] || item[:title]
|
||||
}
|
||||
if options[:heading_level]
|
||||
|
Loading…
Reference in New Issue
Block a user