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/auth/user.rb,
lib/kadmin/presenter.rb,
lib/kadmin/presentable.rb,
lib/kadmin/configuration.rb,
app/components/kadmin/form.rb,
lib/kadmin/auth/user_store.rb,
app/components/kadmin/pager.rb,
app/components/kadmin/finder.rb,
app/components/kadmin/select2.rb,
lib/kadmin/auth/configuration.rb,
app/models/kadmin/organization.rb,
lib/kadmin/presenter/test_case.rb,
app/helpers/kadmin/alert_helper.rb,
lib/kadmin/errors/authorization.rb,
app/helpers/kadmin/charts_helper.rb,
app/components/kadmin/navbar/link.rb,
app/components/kadmin/form_builder.rb,
lib/kadmin/auth/unauthorized_error.rb,
app/components/kadmin/finder/filter.rb,
app/helpers/kadmin/bootstrap_helper.rb,
app/components/kadmin/navbar/section.rb,
app/components/kadmin/auth_constraint.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/controllers/kadmin/concerns/resources.rb,
app/controllers/kadmin/application_controller.rb,
app/controllers/kadmin/concerns/authorized_user.rb,
app/components/kadmin/form_tags/inverted_check_box.rb

Defined Under Namespace

Modules: AlertHelper, ApplicationHelper, Auth, BootstrapHelper, ChartsHelper, Concerns, Errors, FormTags, Navbar, Presentable Classes: ApplicationController, AuthConstraint, AuthController, Configuration, DashController, Engine, Error, Finder, Form, FormBuilder, Organization, Pager, Presenter, Select2

Constant Summary collapse

VERSION =
'1.3.0'.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