Sha256: e86372e4e0a35858ec70fb106de54a167c23b945497d1d66acfb290c5533e8d4

Contents?: true

Size: 1.24 KB

Versions: 2

Compression:

Stored size: 1.24 KB

Contents

# RailsAdmin config file. Generated on May 13, 2013 08:43
# See github.com/sferik/rails_admin for more informations

RailsAdmin.config do |config|

  ################  Global configuration  ################

  # Set the admin name here (optional second array element will appear in red). For example:
  config.main_app_name = ['DummyApp', 'Admin']
  # or for a more dynamic name:
  # config.main_app_name = Proc.new { |controller| [Rails.application.engine_name.titleize, controller.params['action'].titleize] }

  # RailsAdmin may need a way to know who the current user is]
  config.current_user_method { current_user } # auto-generated

  # If you want to track changes on your models:
  # config.audit_with :history, 'User'

  # Or with a PaperTrail: (you need to install it first)
  config.audit_with :paper_trail, 'User'

  # Display empty fields in show views:
  # config.compact_show_view = false

  # Number of default rows per-page:
  # config.default_items_per_page = 20

  # Exclude specific models (keep the others):
  # config.excluded_models = ['Customer', 'User']

  # Include specific models (exclude the others):
  config.included_models = Basepack::Utils.detect_models #+ ['ActsAsTaggableOn::Tag', 'ActsAsTaggableOn::Taggings', 'Delayed::Job']
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
basepack-0.1.0 spec/dummy_app/config/initializers/rails_admin.rb
basepack-0.0.2 spec/dummy_app/config/initializers/rails_admin.rb