Sha256: d08903a840f162443f6d29ed0265aa216bb1be8afc4a322f5a86f45e080f5633
Contents?: true
Size: 502 Bytes
Versions: 7
Compression:
Stored size: 502 Bytes
Contents
# Used to ensure that Rails 3.0.x, as well as Rails >= 3.1 with asset pipeline disabled # get the minified version of the scripts included into the layout in production. module RubyBadger module Rails class Railtie < ::Rails::Railtie config.before_configuration do ruby_badger_defaults = %w(ruby_badger) if config.action_view.stylesheet_expansions config.action_view.stylesheet_expansions[:defaults] |= ruby_badger_defaults end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems