Module: Kadmin

Defined in:
lib/kadmin.rb,
lib/kadmin/auth.rb,
lib/kadmin/error.rb,
lib/kadmin/engine.rb,
lib/kadmin/version.rb,
lib/kadmin/presenter.rb,
lib/kadmin/auth/user.rb,
lib/kadmin/presentable.rb,
lib/kadmin/configuration.rb,
lib/kadmin/auth/user_store.rb,
lib/kadmin/auth/configuration.rb,
lib/kadmin/presenter/test_case.rb,
lib/kadmin/errors/authorization.rb,
lib/kadmin/auth/unauthorized_error.rb,
app/components/kadmin/form.rb,
app/components/kadmin/pager.rb,
app/components/kadmin/finder.rb,
app/helpers/kadmin/alert_helper.rb,
app/helpers/kadmin/form_builder.rb,
app/components/kadmin/navbar/link.rb,
app/helpers/kadmin/bootstrap_helper.rb,
app/components/kadmin/navbar/section.rb,
app/components/kadmin/pager/presenter.rb,
app/helpers/kadmin/application_helper.rb,
app/components/kadmin/finder/presenter.rb,
app/controllers/kadmin/auth_controller.rb,
app/controllers/kadmin/dash_controller.rb,
app/helpers/kadmin/forms/inverted_check_box.rb,
app/controllers/kadmin/application_controller.rb,
app/controllers/kadmin/concerns/authorized_user.rb

Defined Under Namespace

Modules: AlertHelper, ApplicationHelper, Auth, BootstrapHelper, Concerns, Errors, Forms, Navbar, Presentable Classes: ApplicationController, AuthController, Configuration, DashController, Engine, Error, Finder, Form, FormBuilder, Pager, Presenter

Constant Summary

VERSION =
'0.3.2'.freeze

Class Method Summary collapse

Class Method Details

.configObject



15
16
17
# File 'lib/kadmin.rb', line 15

def config
  return @config ||= Kadmin::Configuration.new
end

.configure {|config| ... } ⇒ Object

Yields:



19
20
21
22
# File 'lib/kadmin.rb', line 19

def configure
  yield(config) if block_given?
  return config
end