Sha256: 02374c297241b703f164cbfe2c758515ec3d5d623901fe86de0a87aa272d92cc

Contents?: true

Size: 857 Bytes

Versions: 2

Compression:

Stored size: 857 Bytes

Contents

BootstrapAdmin.setup do |config|

  # ==> Admin namespace configuration
  # Configure namespace used for the scope of this admin
  # Default value: :admin
  config.admin_namespace = "<%= namespace_parsed %>"

  # ==> Paginator configuration
  # Configure the number of results shown per page by the paginator.
  # Default value: 10
  #
  # config.paginator_page_size = 10

  # ==> UI Styles
  # Configure the css class names that each action wrapper will have
  # Default value: {index: %w(table-bordered table-striped)}
  #
  # config.ui_styles[:index] << "my_awesome_style_class"

  # ==> Default ignored fields
  # Define the fields that the automatic view generator should ignore
  # when building the index view and the new/edit forms.
  # Default value: %i(id created_at updated_at)
  #
  # config.default_ignored_fields += %i(some other fields)

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bootstrap_admin-1.0.1 lib/generators/bootstrap_admin/install/templates/bootstrap_admin.rb
bootstrap_admin-1.0.0 lib/generators/bootstrap_admin/install/templates/bootstrap_admin.rb