jejacks0n / navigasmic

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

group does not take a :link

gucki opened this issue · comments

It should be possible to pass a :link argument to group:

=n.group "My group". :link => root_path do
  =n.item ....
  =n.item ....

that will be great

I think you can do this with nested items.. try:

n.item 'Level1' link: '/foo' do
  n.item 'Level2' link: '/foo2'
end

I'm doing a total re-write at the moment.. and I believe that was a feature that I carried over to the updates.