Sha256: 0c8008fe0ca9e7b998805eee71de099f20b25fc9e001720fb845a0a655244440

Contents?: true

Size: 1010 Bytes

Versions: 26

Compression:

Stored size: 1010 Bytes

Contents

Rails.application.configure do
    # config.assets.paths << root.join("app", "assets", "stylesheets", "thecore_ui_rails_admin")
    # config.assets.paths << root.join("app", "assets", "javascripts", "thecore_ui_rails_admin")
    # Login Page and pages not in RailsAdmin
    config.assets.precompile += %w( thecore_ui_rails_admin/thecore.css thecore_ui_rails_admin/thecore.js )
    # Pages under Rails Admin
    config.assets.precompile += %w( thecore_ui_rails_admin/thecore_rails_admin.css thecore_ui_rails_admin/thecore_rails_admin.js )
    
    config.after_initialize do
        RailsAdmin::Config::Actions::Export.send(:include, ExportConcern)
        RailsAdmin::Config::Actions::BulkDelete.send(:include, BulkDeleteConcern)
        RailsAdminSettings::Setting.send(:include, RailsAdminSettings::RailsAdminExtensionConfig)
        User.send(:include, ThecoreUiRailsAdminUser)
        Role.send(:include, ThecoreUiRailsAdminRole)
        Permission.send(:include, ThecoreUiRailsAdminPermission)
    end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
thecore_ui_rails_admin-2.2.11 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.2.10 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.2.9 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.2.8 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.2.7 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.2.6 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.2.5 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.2.4 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.2.3 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.2.2 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.2.1 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.2.0 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.1.22 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.1.21 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.1.20 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.1.19 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.1.18 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.1.17 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.1.16 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.1.15 config/initializers/thecore_ui_rails_admin_app_configs.rb