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

- (Object) build(title, action_items)



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

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