Sha256: 885e03c749777f8ab45d126d1350a1ab2d3b0697cad2243da896a6f77f60f5da
Contents?: true
Size: 500 Bytes
Versions: 12
Compression:
Stored size: 500 Bytes
Contents
require "action_controller/railtie" module Csso class Railtie < ::Rails::Railtie initializer "csso.environment", :after => "sprockets.environment" do |app| Csso.install(app.assets) end # saas-rails-3.2.4(and may be others) sets itself as default, ignoring config? => override :( initializer "csso.setup", :after => :setup_compression, :group => :all do |app| if app.config.assets.enabled app.config.assets.css_compressor = :csso end end end end
Version data entries
12 entries across 12 versions & 1 rubygems