Sha256: eb885858053b75390c36b8b93ac6051985b431cc03313e523d77520c136f43dd

Contents?: true

Size: 1.05 KB

Versions: 12

Compression:

Stored size: 1.05 KB

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)
        UsedToken.send(:include, ThecoreUiRailsAdminUsedToken)
        Role.send(:include, ThecoreUiRailsAdminRole)
        Permission.send(:include, ThecoreUiRailsAdminPermission)
    end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
thecore_ui_rails_admin-2.4.2 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.4.1 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.4.0 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.3.7 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.3.6 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.3.5 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.3.4 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.3.3 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.3.2 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.3.1 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.3.0 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.2.12 config/initializers/thecore_ui_rails_admin_app_configs.rb