X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/501d13e1c0936cc3ba3d9639620517bae34e5784..6403cb9b08dfb7b0411c88515da34f27a813dd4a:/config/initializers/assets.rb?ds=sidebyside diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb index 9560e2979..ffc283931 100644 --- a/config/initializers/assets.rb +++ b/config/initializers/assets.rb @@ -1,7 +1,10 @@ # Be sure to restart your server when you modify this file. # Version of your assets, change this if you want to expire all your assets. -Rails.application.config.assets.version = '1.0' +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. @@ -10,6 +13,7 @@ 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( id.js id.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 ) @@ -19,7 +23,6 @@ Rails.application.config.assets.precompile += %w( potlatch2/assets.zip ) Rails.application.config.assets.precompile += %w( potlatch2/FontLibrary.swf ) Rails.application.config.assets.precompile += %w( potlatch2/locales/*.swf ) 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 )