primary.item :dashboard, 'Dashboard', root_path
primary.item :expenses, 'Expenses', expenses_path
primary.item :reports, 'Reports', reports_path
primary.item :actions_group, 'Options', 'javascript:;' do |actions|
actions.item :group, "Group", group_path do |group_actions|
group_actions.item :group_add, "Add", new_group_path
group_actions.item :group_list, "List", groups_path
end
end
<ul>
<li>Options
<ul class="sub-menu">
<li><a href="path">Add</a></li>
<li><a href="path">List</a></li>
</ul>
</li>
</ul>
--
You received this message because you are subscribed to the Google Groups "simple-navigation" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-navigat...@googlegroups.com.
To post to this group, send email to simple-n...@googlegroups.com.
Visit this group at https://groups.google.com/group/simple-navigation.
For more options, visit https://groups.google.com/d/optout.