Sha256: 67c06b49fd7adc05b4ceb3f46d813e633192728dad1f8c4e47e0c5ba7d9e65ed

Contents?: true

Size: 1.04 KB

Versions: 12

Compression:

Stored size: 1.04 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)
        ThecoreSettings::Setting.send(:include, ThecoreSettings::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.5.4 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.5.3 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.5.2 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.5.1 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.5.0 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.4.9 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.4.8 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.4.7 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.4.6 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.4.5 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.4.4 config/initializers/thecore_ui_rails_admin_app_configs.rb
thecore_ui_rails_admin-2.4.3 config/initializers/thecore_ui_rails_admin_app_configs.rb