Class: ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
lib/forge/app/controllers/application_controller.rb

Instance Method Summary collapse

Instance Method Details

#app_initObject



8
9
10
11
# File 'lib/forge/app/controllers/application_controller.rb', line 8

def app_init
  # application-wide init stuff here
  @mobile_menu_items = Page.find_for_menu if Forge.config.mobile_layout
end