Module: Aerogel::Admin

Defined in:
lib/aerogel/admin/core.rb,
lib/aerogel/admin/menu.rb,
lib/aerogel/admin/version.rb,
lib/aerogel/admin/tabs_builder.rb,
lib/aerogel/admin/table_builder.rb

Defined Under Namespace

Classes: Menu, TableBuilder, TabsBuilder

Constant Summary collapse

VERSION =
"1.4.4"

Class Method Summary collapse

Class Method Details

.registered(app) ⇒ Object



3
4
5
6
7
# File 'lib/aerogel/admin/core.rb', line 3

def self.registered(app)
  setup_reloader(app) if Aerogel.config.aerogel.reloader?

  # module initialization
end

.setup_reloader(app) ⇒ Object



9
10
11
12
13
# File 'lib/aerogel/admin/core.rb', line 9

def self.setup_reloader(app)
  app.use Aerogel::Reloader, :routes, before: true do
    Aerogel::Admin::Menu.reset!
  end
end