add engine link option

This commit is contained in:
2012-12-26 20:45:22 +01:00
parent 55efff20a8
commit bf83d33527
3 changed files with 67 additions and 0 deletions
@@ -23,6 +23,8 @@
li[ class=(controller_name == child_item.controller_name ? 'active' : '') ] = link_to child_item.title, child_item.path
- elsif menu_item.resource_link?
li[ class=(menu_item.controller_name == controller_name ? 'active' : '')]= link_to menu_item.title, menu_item.path
- elsif menu_item.engine_link?
li= link_to menu_item.title, menu_item.path
.btn-group.pull-right
a.btn.dropdown-toggle[data-toggle="dropdown" href="#"]
i.icon-user