Sha256: caaa60722cd0aff58fbc3b3dde368cb5a14bdca3362b98929715e56f2a2720d6

Contents?: true

Size: 907 Bytes

Versions: 3

Compression:

Stored size: 907 Bytes

Contents

Rails.application.config.assets.paths << Peoplefinder::Engine.root.join(
  'vendor', 'assets', 'components'
  )

Rails.application.config.assets.precompile += %w[
  gov-static/gov-goodbrowsers.css
  gov-static/gov-ie6.css
  gov-static/gov-ie7.css
  gov-static/gov-ie8.css
  gov-static/gov-fonts.css
  gov-static/gov-fonts-ie8.css
  gov-static/gov-print.css
  moj-base.css
  gov-static/gov-ie.js
  jquery.Jcrop.min.css
  jquery.Jcrop.min.js
]

unless Rails.env.production?
  Rails.application.config.assets.precompile += %w[ teaspoon.css
                                                    teaspoon-teaspoon.js
                                                    mocha/1.17.1.js
                                                    teaspoon-mocha.js ]
end

Dir.chdir(Peoplefinder::Engine.root.join('vendor', 'assets', 'components')) do
  Rails.application.config.assets.precompile += Dir['**/*.{js,css}']
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
peoplefinder-0.1.1 config/initializers/assets.rb
peoplefinder-0.1.0 config/initializers/assets.rb
peoplefinder-0.0.2 config/initializers/assets.rb