Sha256: c54cdc6d9ee5104eba9ecb7fa1f0528edab8812e523195a448f9f01727389581

Contents?: true

Size: 788 Bytes

Versions: 11

Compression:

Stored size: 788 Bytes

Contents

RailsAdmin.config do |config|

  ### Popular gems integration

  ## == Devise ==
  # config.authenticate_with do
  #   warden.authenticate! scope: :user
  # end
  # config.current_user_method(&:current_user)

  ## == Cancan ==
  # config.authorize_with :cancan

  ## == Pundit ==
  # config.authorize_with :pundit

  ## == PaperTrail ==
  # config.audit_with :paper_trail, 'User', 'PaperTrail::Version' # PaperTrail >= 3.0.0

  ### More at https://github.com/sferik/rails_admin/wiki/Base-configuration

  config.actions do
    dashboard                     # mandatory
    index                         # mandatory
    new
    export
    bulk_delete
    show
    edit
    delete
    show_in_app

    ## With an audit adapter, you can add:
    # history_index
    # history_show
  end
end

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
rails_admin_featured_content-1.2.3 spec/dummy/config/initializers/rails_admin.rb
rails_admin_featured_content-1.2.2 spec/dummy/config/initializers/rails_admin.rb
rails_admin_featured_content-1.2.1 spec/dummy/config/initializers/rails_admin.rb
rails_admin_featured_content-1.1.0 spec/dummy/config/initializers/rails_admin.rb
rails_admin_featured_content-1.0.6 spec/dummy/config/initializers/rails_admin.rb
rails_admin_featured_content-1.0.5 spec/dummy/config/initializers/rails_admin.rb
rails_admin_featured_content-1.0.4 spec/dummy/config/initializers/rails_admin.rb
rails_admin_content_builder-1.0.4 spec/dummy/config/initializers/rails_admin.rb
rails_admin_featured_content-1.0.3 spec/dummy/config/initializers/rails_admin.rb
rails_admin_content_builder-1.0.3 spec/dummy/config/initializers/rails_admin.rb
rails_admin-0.8.1 lib/generators/rails_admin/templates/initializer.erb