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 proc should optionally be in an array (like :disabled_if)

zubin opened this issue · comments

ie this should also work:

:highlights_on => proc { Time.now.wday == 2 || !logged_in? }

That's a good idea.. as soon as time permits I will make this adjustment.

I obviously never got to this, but I believe it'll be fixed when I push the rewrite.