module GovukTemplate
  class Engine < ::Rails::Engine
    initializer "govuk_template.assets.precompile" do |app|
      app.config.assets.precompile += %w(
        govuk-template*.css
        fonts*.css
        govuk-template.js
        ie.js
        vendor/goog/webfont-debug.js
      )
    end
  end
end

module GovukTemplate
  class Engine < ::Rails::Engine
    initializer "govuk_template.assets.precompile" do |app|
      app.config.assets.precompile += %w(
        favicon.ico
        govuk-template*.css
        fonts*.css
        govuk-template.js
        ie.js
        vendor/goog/webfont-debug.js
        apple-touch-icon-120x120.png
        apple-touch-icon-152x152.png
        apple-touch-icon-60x60.png
        apple-touch-icon-76x76.png
        favicon.ico
        gov.uk_logotype_crown_invert.png
        gov.uk_logotype_crown_invert_trans.png
        opengraph-image.png
      )
    end
  end
end

Add static files to `assets.precompile`
Add static files to `assets.precompile`

This avoids errors in apps using sprockets-rails > 3
