Sha256: 9d6a01bc966f933ef29eee39a5e5d7c414ea69f0febb299c7e248821e20e8797
Contents?: true
Size: 1.13 KB
Versions: 10
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
10 entries across 10 versions & 1 rubygems