lib/active_admin/views/header.rb in activeadmin-0.5.1 vs lib/active_admin/views/header.rb in activeadmin-0.6.0

- old
+ new

@@ -5,10 +5,11 @@ def build(namespace, menu) super(:id => "header") @namespace = namespace @menu = menu + @utility_menu = @namespace.fetch_menu(:utility_navigation) build_site_title build_global_navigation build_utility_navigation end @@ -17,14 +18,14 @@ def build_site_title insert_tag view_factory.site_title, @namespace end def build_global_navigation - insert_tag view_factory.global_navigation, @menu, :class => 'header-item' + insert_tag view_factory.global_navigation, @menu, :class => 'header-item tabs' end def build_utility_navigation - insert_tag view_factory.utility_navigation, @namespace + insert_tag view_factory.global_navigation, @utility_menu, :id => "utility_nav", :class => 'header-item tabs' end end end end