jejacks0n / navigasmic

Navigasmic: Semantic navigation for Rails using simple view level or configuration definitions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

:highlights_on in a group

pedroaranha opened this issue · comments

Hi. I'm trying to set an 'n.group' to be highlighted, but it doesn't work. Rails instead generates an HTML tag like 'highlighted_on="controller_name"'. How can I make a group receive the "active" class when I'm viewing one of his sons? Thank you for your time!

use a nested item.. items can be like groups if you provide a block to them.