andi/simple-navigation — Issue #77: Support for menu category labels that are not links?
Author: gavinhughes
Created: 2011-12-01 03:43:42+00:00
State: open

For example, I have an Admin category that contains menu items, but 'Admin' is not a link:

primary.item :admin, 'Admin', nil, if: proc{ current_agent.role? :admin } do |sub_nav|
sub_nav. ...

This is pretty a common design pattern. I just started using simple-navigation today, so forgive me if this is already supported.