Sha256: ea699490ed4e43b5f207430b905f546bc544b5eb1a335cbc204122524228263c
Contents?: true
Size: 603 Bytes
Versions: 2
Compression:
Stored size: 603 Bytes
Contents
# Be sure to restart your server when you modify this file. # Version of your assets, change this if you want to expire all your assets. Rails.application.config.assets.version = '1.0' # Precompile additional assets. # application.js, application.css, and all non-JS/CSS in app/assets folder are already added. # Rails.application.config.assets.precompile += %w( search.js ) Rails.application.config.assets.precompile += %w( admin/admin.css ) Rails.application.config.assets.precompile += [->(path) { full_path = Rails.application.assets.resolve(path) File.extname(full_path).in?(%w(.js .css)) }]
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
coalla-cms-0.4.2.0 | lib/generators/coalla/cms/templates/assets.rb |
coalla-cms-0.4.4.3 | lib/generators/coalla/cms/templates/assets.rb |