X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/250bb47cc2723c7af6fac0a6e9e900c1a50f9292..860887de5272c3e2a39cb7e0c9db6f0acba1b4c6:/config/initializers/assets.rb?ds=sidebyside diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb index 21d9312a4..f59f60820 100644 --- a/config/initializers/assets.rb +++ b/config/initializers/assets.rb @@ -1,17 +1,20 @@ # 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" + +# Location of manifest file. +Rails.application.config.assets.manifest = Rails.root.join("tmp/manifest.json") # Add additional assets to the asset load path -# Rails.application.config.assets.paths << Emoji.images_path +Rails.application.config.assets.paths << Rails.root.join("config") # 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 ) -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( user.js login.js diary_entry.js ) +Rails.application.config.assets.precompile += %w( screen-ltr.css print-ltr.css ) +Rails.application.config.assets.precompile += %w( screen-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 ) @@ -26,3 +29,6 @@ Rails.application.config.assets.precompile += %w( help/introduction.* ) 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 ) +Rails.application.config.assets.precompile += %w( iD/traffico/stylesheets/traffico.css ) +Rails.application.config.assets.precompile += %w( iD/traffico/fonts/traffico_* ) +Rails.application.config.assets.precompile += %w( iD/traffico/string-maps/*.json )