Module: BootstrapAdmin

Defined in:
lib/bootstrap_admin.rb,
lib/bootstrap_admin/actions.rb,
lib/bootstrap_admin/version.rb,
lib/bootstrap_admin/attribute.rb,
lib/bootstrap_admin/responder.rb,
lib/bootstrap_admin/controller_config.rb,
lib/bootstrap_admin/controller_helpers.rb,
lib/generators/bootstrap_admin/install_generator.rb

Overview

Bootstrap admin eases the tedious task of building admin interfaces

Defined Under Namespace

Modules: Actions, ControllerHelpers, Generators, MenuHelper, PaginatorHelper Classes: Attribute, BootstrapAdminEngine, ControllerConfig, Responder

Constant Summary collapse

VERSION =
"0.0.14"
@@admin_namespace =
:admin
@@admin_root_options =
{:only => :show}
@@paginator_page_size =
10
@@ui_styles =
{
  index: %w(table-bordered table-striped)
}

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Setup BootstrapAdmin Run rails generate bootstrap_admin:install to create a fresh initializer with all configuration values.

Yields:

  • (_self)

Yield Parameters:



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

def self.setup
  yield self
end