X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c53db246f606e0233a524e8f3c6390ea74e96890..103ba7977f2cae8feb805225d3331d96b124e3ad:/config/initializers/assets.rb diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb index fd6d1e4d2..df86f2b9d 100644 --- a/config/initializers/assets.rb +++ b/config/initializers/assets.rb @@ -3,16 +3,20 @@ # Version of your assets, change this if you want to expire all your assets. Rails.application.config.assets.version = '1.0' +# Add additional assets to the asset load path +# Rails.application.config.assets.paths << Emoji.images_path + # Precompile additional assets. # application.js, application.css, and all non-JS/CSS in app/assets folder are already added. Rails.application.config.assets.precompile += %w( index.js browse.js welcome.js fixthemap.js ) -Rails.application.config.assets.precompile += %w( user.js diary_entry.js swfobject.js ) +Rails.application.config.assets.precompile += %w( user.js diary_entry.js ) Rails.application.config.assets.precompile += %w( large-ltr.css small-ltr.css print-ltr.css ) Rails.application.config.assets.precompile += %w( large-rtl.css small-rtl.css print-rtl.css ) Rails.application.config.assets.precompile += %w( leaflet-all.css leaflet.ie.css ) Rails.application.config.assets.precompile += %w( embed.js embed.css ) Rails.application.config.assets.precompile += %w( html5shiv.js ) Rails.application.config.assets.precompile += %w( images/marker-*.png img/*-handle.png ) +Rails.application.config.assets.precompile += %w( swfobject.js expressInstall.swf ) Rails.application.config.assets.precompile += %w( potlatch2.swf ) Rails.application.config.assets.precompile += %w( potlatch2/assets.zip ) Rails.application.config.assets.precompile += %w( potlatch2/FontLibrary.swf ) @@ -21,3 +25,4 @@ Rails.application.config.assets.precompile += %w( help/introduction.* ) Rails.application.config.assets.precompile += %w( iD.js iD.css ) Rails.application.config.assets.precompile += %w( iD/img/*.svg iD/img/*.png iD/img/*.gif ) Rails.application.config.assets.precompile += %w( iD/img/pattern/*.png ) +Rails.application.config.assets.precompile += %w( iD/locales/*.json )