X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f6695c9079f4eeeecaa796c879868f797f97cd55..3d7fd13357df11aba4b7eb6bb5789aca5d334938:/config/initializers/assets.rb?ds=sidebyside diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb index da975acc9..b60edd633 100644 --- a/config/initializers/assets.rb +++ b/config/initializers/assets.rb @@ -4,7 +4,7 @@ Rails.application.config.assets.version = "1.0" # Location of manifest file. -Rails.application.config.assets.manifest = Rails.root.join("tmp/manifest.json") +Rails.application.config.assets.manifest = Rails.root.join("tmp", "manifest.json") # Add additional assets to the asset load path Rails.application.config.assets.paths << Rails.root.join("config") @@ -12,7 +12,7 @@ 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 login.js diary_entry.js) +Rails.application.config.assets.precompile += %w(user.js login.js diary_entry.js edit/*.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)