Class: ActiveAdmin::Views::TitleBar

Inherits:
Component
  • Object
show all
Defined in:
lib/active_admin/views/title_bar.rb

Instance Method Summary collapse

Instance Method Details

#build(title, action_items) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/active_admin/views/title_bar.rb', line 6

def build(title, action_items)
  super(id: "title_bar")
  @title = title
  @action_items = action_items
  build_titlebar_left
  build_titlebar_right
end