Sha256: 575c9c945fe03229fa57a41b5219e9236eb769c88e7ba11815fec0a52d9e2c4d
Contents?: true
Size: 1.13 KB
Versions: 7
Compression:
Stored size: 1.13 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) rescue puts "No UsedToken Model it could be normal: maybe model_driven_api is not installed" Role.send(:include, ThecoreUiRailsAdminRole) Permission.send(:include, ThecoreUiRailsAdminPermission) end end
Version data entries
7 entries across 7 versions & 1 rubygems