module AppKit::Dsl::ApplicationDsl

Public Instance Methods

dashboard(&block) click to toggle source

DSL method for configuring the dashboard. This is called from the initializer

# File lib/app_kit/dsl/application_dsl.rb, line 16
def dashboard(&block)
  AppKit.application.dashboard_view.instance_eval(&block)
end
disable_authentication() click to toggle source

DSL method to disable user authentication. This is called from the initializer

# File lib/app_kit/dsl/application_dsl.rb, line 10
def disable_authentication
  config.authentication_enabled = false
end
navigation_item(title, path_helper,options ={}) click to toggle source

DSL method for creating custom naviation items. This is called from the initializer

title(title_text) click to toggle source

DSL method to set the application title. This is called from the initializer.

# File lib/app_kit/dsl/application_dsl.rb, line 4
def title(title_text)
  config.application_title = title_text
end