Module: ActiveAdmin

Defined in:
lib/active_admin.rb,
lib/active_admin/dsl.rb,
lib/active_admin/menu.rb,
lib/active_admin/event.rb,
lib/active_admin/scope.rb,
lib/active_admin/views.rb,
lib/active_admin/devise.rb,
lib/active_admin/engine.rb,
lib/active_admin/iconic.rb,
lib/active_admin/router.rb,
lib/active_admin/version.rb,
lib/active_admin/reloader.rb,
lib/active_admin/renderer.rb,
lib/active_admin/resource.rb,
lib/active_admin/callbacks.rb,
lib/active_admin/component.rb,
lib/active_admin/menu_item.rb,
lib/active_admin/namespace.rb,
lib/active_admin/dashboards.rb,
lib/active_admin/application.rb,
lib/active_admin/csv_builder.rb,
lib/active_admin/deprecation.rb,
lib/active_admin/page_config.rb,
lib/active_admin/form_builder.rb,
lib/active_admin/iconic/icons.rb,
lib/active_admin/sass/helpers.rb,
lib/active_admin/view_factory.rb,
lib/active_admin/view_helpers.rb,
lib/active_admin/resource/menu.rb,
lib/active_admin/resource/naming.rb,
lib/active_admin/resource/scopes.rb,
lib/active_admin/sidebar_section.rb,
lib/active_admin/views/pages/new.rb,
lib/active_admin/comments/comment.rb,
lib/active_admin/helpers/settings.rb,
lib/active_admin/views/pages/base.rb,
lib/active_admin/views/pages/edit.rb,
lib/active_admin/views/pages/show.rb,
lib/active_admin/controller_action.rb,
lib/active_admin/resource/sidebars.rb,
lib/active_admin/views/pages/index.rb,
lib/active_admin/asset_registration.rb,
lib/active_admin/dashboards/section.rb,
lib/active_admin/views/action_items.rb,
lib/active_admin/views/pages/layout.rb,
lib/active_admin/resource/belongs_to.rb,
lib/active_admin/resource_controller.rb,
lib/active_admin/views/index_as_blog.rb,
lib/active_admin/views/index_as_grid.rb,
lib/active_admin/views/tabs_renderer.rb,
lib/active_admin/views/index_as_block.rb,
lib/active_admin/views/index_as_table.rb,
lib/active_admin/abstract_view_factory.rb,
lib/active_admin/resource/action_items.rb,
lib/active_admin/views/header_renderer.rb,
lib/active_admin/views/pages/dashboard.rb,
lib/active_admin/comments/configuration.rb,
lib/active_admin/views/components/panel.rb,
lib/active_admin/views/components/scopes.rb,
lib/active_admin/comments/resource_helper.rb,
lib/active_admin/helpers/optional_display.rb,
lib/active_admin/resource_controller/form.rb,
lib/active_admin/resource_controller/menu.rb,
lib/active_admin/view_helpers/form_helper.rb,
lib/active_admin/view_helpers/icon_helper.rb,
lib/active_admin/views/components/columns.rb,
lib/active_admin/comments/namespace_helper.rb,
lib/active_admin/comments/show_page_helper.rb,
lib/active_admin/view_helpers/title_helper.rb,
lib/active_admin/views/components/table_for.rb,
lib/active_admin/resource_controller/actions.rb,
lib/active_admin/resource_controller/filters.rb,
lib/active_admin/resource_controller/scoping.rb,
lib/active_admin/view_helpers/display_helper.rb,
lib/active_admin/view_helpers/sidebar_helper.rb,
lib/active_admin/views/components/status_tag.rb,
lib/active_admin/resource_controller/sidebars.rb,
lib/active_admin/view_helpers/renderer_helper.rb,
lib/active_admin/views/components/blank_slate.rb,
lib/active_admin/resource_controller/callbacks.rb,
lib/active_admin/view_helpers/auto_link_helper.rb,
lib/active_admin/resource_controller/collection.rb,
lib/active_admin/view_helpers/breadcrumb_helper.rb,
lib/active_admin/dashboards/dashboard_controller.rb,
lib/active_admin/view_helpers/filter_form_helper.rb,
lib/active_admin/view_helpers/view_factory_helper.rb,
lib/active_admin/views/components/sidebar_section.rb,
lib/active_admin/views/dashboard_section_renderer.rb,
lib/active_admin/views/components/attributes_table.rb,
lib/active_admin/resource_controller/action_builder.rb,
lib/generators/active_admin/assets/assets_generator.rb,
lib/generators/active_admin/devise/devise_generator.rb,
lib/active_admin/comments/views/active_admin_comments.rb,
lib/generators/active_admin/install/install_generator.rb,
lib/active_admin/views/components/paginated_collection.rb,
lib/generators/active_admin/resource/resource_generator.rb,
lib/active_admin/resource_controller/page_configurations.rb,
lib/active_admin/view_helpers/active_admin_application_helper.rb

Defined Under Namespace

Modules: AssetRegistration, Callbacks, Comments, Dashboards, Deprecation, Devise, Generators, Iconic, OptionalDisplay, Sass, Settings, ViewHelpers, Views Classes: AbstractViewFactory, ActionItem, Application, CSVBuilder, Comment, Component, ControllerAction, DSL, Engine, EventDispatcher, FilterFormBuilder, FormBuilder, Menu, MenuItem, Namespace, PageConfig, Railtie, Reloader, Renderer, Resource, ResourceController, ResourceMismatchError, Router, Scope, SidebarSection, ViewFactory

Constant Summary collapse

Event =

ActiveAdmin::Event is set to a dispatcher

EventDispatcher.new
VERSION =
'0.2.2'
@@application =

The instance of the configured application

::ActiveAdmin::Application.new

Class Method Summary collapse

Class Method Details

.setup {|application| ... } ⇒ Object

Gets called within the initializer

Yields:

  • (application)


54
55
56
57
# File 'lib/active_admin.rb', line 54

def setup
  yield(application)
  application.prepare!
end

.use_asset_pipeline?Boolean

Returns true if this rails application has the asset pipeline enabled.

Returns:

  • (Boolean)


66
67
68
69
# File 'lib/active_admin.rb', line 66

def use_asset_pipeline?
  return false unless Rails::VERSION::MINOR > 0
  Rails.application.config.assets.enabled
end