Sha256: 822a66d5de9b60bfae5d103a56592957d4c84d12083c4896c6ca758d397f765c
Contents?: true
Size: 451 Bytes
Versions: 29
Compression:
Stored size: 451 Bytes
Contents
module ActiveAdmin module Views class Header < Component def build(namespace, menu) super(id: "header") @namespace = namespace @menu = menu @utility_menu = @namespace.fetch_menu(:utility_navigation) site_title @namespace global_navigation @menu, class: 'header-item tabs' utility_navigation @utility_menu, id: "utility_nav", class: 'header-item tabs' end end end end
Version data entries
29 entries across 29 versions & 3 rubygems