Sha256: 3ba34c56dc1b28021047b332a28260940212993e5a3a1d4e09ac9416b6e42d6d

Contents?: true

Size: 582 Bytes

Versions: 1

Compression:

Stored size: 582 Bytes

Contents

module Junior
  module Rails
    class Railtie < ::Rails::Railtie
      config.before_configuration do
        if config.action_view.javascript_expansions
          junior_js_defaults = %w(modernizr.custom.15848 zepto.min zepto.flickable.min lodash.min backbone-min junior junior_manifest)
          junior_css_defaults = %w(ratchet junior junior_manifest)

          config.action_view.javascript_expansions[:junior_js_assets] = junior_js_defaults
          config.action_view.stylesheet_expansions[:junior_css_assets] = junior_css_defaults
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
junior-rails-0.0.1 lib/junior-rails/railtie.rb