Module: LotusAdmin

Defined in:
lib/lotus_admin.rb,
lib/lotus_admin/engine.rb,
lib/lotus_admin/router.rb,
lib/lotus_admin/version.rb,
app/models/lotus_admin/user.rb,
lib/lotus_admin/configuration.rb,
app/services/lotus_admin/exporter.rb,
app/mailers/lotus_admin/user_mailer.rb,
app/helpers/lotus_admin/form_helpers.rb,
app/helpers/lotus_admin/link_helpers.rb,
app/jobs/lotus_admin/application_job.rb,
app/helpers/lotus_admin/panel_helpers.rb,
app/helpers/lotus_admin/filter_helpers.rb,
app/helpers/lotus_admin/sidebar_helpers.rb,
app/models/lotus_admin/application_record.rb,
app/helpers/lotus_admin/application_helper.rb,
app/helpers/lotus_admin/pagination_helpers.rb,
app/mailers/lotus_admin/application_mailer.rb,
app/policies/lotus_admin/application_policy.rb,
app/controllers/lotus_admin/users_controller.rb,
app/models/lotus_admin/filters/configuration.rb,
app/controllers/concerns/lotus_admin/exposure.rb,
app/controllers/lotus_admin/profiles_controller.rb,
app/controllers/concerns/lotus_admin/decorations.rb,
app/controllers/lotus_admin/dashboard_controller.rb,
app/controllers/concerns/lotus_admin/authorization.rb,
app/controllers/concerns/lotus_admin/file_streamer.rb,
app/controllers/lotus_admin/application_controller.rb,
app/controllers/concerns/lotus_admin/permitted_params.rb,
app/controllers/concerns/lotus_admin/filterable_controller.rb

Defined Under Namespace

Modules: ApplicationHelper, Authorization, Decorations, DeviseControllers, Exposure, FileStreamer, FilterHelpers, FilterableController, FormHelpers, Invitable, LinkHelpers, PaginationHelpers, PanelHelpers, PermittedParams, RenderHelpers, SidebarHelpers Classes: ApplicationController, ApplicationDecorator, ApplicationJob, ApplicationMailer, ApplicationPolicy, ApplicationRecord, AuthenticatedController, Configuration, ConfirmationsController, DashboardController, Engine, Exporter, FormBuilder, PaginatingDecorator, PasswordsController, ProfilesController, ResourceController, Router, SessionsController, User, UserMailer, UsersController

Constant Summary collapse

VERSION =
'1.6.0'.freeze

Class Method Summary collapse

Class Method Details

.configurationObject



34
35
36
# File 'lib/lotus_admin.rb', line 34

def configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



30
31
32
# File 'lib/lotus_admin.rb', line 30

def configure(&block)
  yield(configuration)
end

.routerObject



38
39
40
# File 'lib/lotus_admin.rb', line 38

def router
  @router ||= Router.new
end