Method: Satis::Helpers::Container#initialize

Defined in:
lib/satis/helpers/container.rb

#initialize(action_view) ⇒ Container

Returns a new instance of Container.



8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/satis/helpers/container.rb', line 8

def initialize(action_view)
  @action_view = action_view

  add_helper :appearance_switcher, Satis::AppearanceSwitcher::Component
  add_helper :avatar, Satis::Avatar::Component
  add_helper :breadcrumbs, Satis::Breadcrumbs::Component
  add_helper :card, Satis::Card::Component
  add_helper :editor, Satis::Editor::Component
  add_helper :flash_messages, Satis::FlashMessages::Component
  add_helper :info, Satis::Info::Component
  add_helper :map, Satis::Map::Component
  add_helper :menu, Satis::Menu::Component
  add_helper :page, Satis::Page::Component
  add_helper :sidebar_menu, Satis::SidebarMenu::Component
  add_helper :tabs, Satis::Tabs::Component
  add_helper :input, Satis::Input::Component
  add_helper :progress_bar, Satis::ProgressBar::Component
  add_helper :dialog, Satis::Dialog::Component
end