jejacks0n/navigasmic

:links => [ root_path, another_path ]

Closed this issue · 4 comments

Hey, nice gem! Can you add support for a link that needs highlighting on multiple routes?

Gavin

Hmm... :links => [ ] doesn't make sense. Maybe something more like :highlight => [ root_path ] to specify additional routes that will cause the subject link to receive the highlight class?

just use :highlights_on it can be a proc

Great! Btw, in readme you show :highlights_on taking a string. It should be an array.

Closing this, because it's from an old version, but will double check that docs are more up to date in the future. Thanks.