lib/rocket_navigation/renderer/bootstrap.rb in rocket_navigation-0.2.0 vs lib/rocket_navigation/renderer/bootstrap.rb in rocket_navigation-0.2.1

- old
+ new

@@ -45,10 +45,11 @@ end def expand_all? true end + def consider_sub_navigation?(item) return false unless item.sub_navigation true end @@ -76,15 +77,9 @@ if item.level == 1 && item.sub_navigation link_to(item.name, item.url, {class: "nav-link dropdown-toggle", 'data-toggle' => "dropdown"}) else super(item) end - end - - def render_sub_navigation_for(item) - opts = options.dup - p opts - item.sub_navigation.render(opts) end end end end