Sha256: f78651008f38c244a7f0cd16dad1ea8107a2c6aaebff2c9d50a90db58893ad08
Contents?: true
Size: 347 Bytes
Versions: 4
Compression:
Stored size: 347 Bytes
Contents
# Add cacheable flash JS to defaults for Rails < 3.1 (not needed with asset pipeline) module CacheableFlash class Railtie < ::Rails::Railtie if ::Rails::VERSION::MAJOR == 3 config.before_configuration do config.action_view.javascript_expansions[:cacheable_flash] = %w(flash jquery.cookie) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems