mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-05 15:31:47 +01:00
Include datepicker i18n only as needed
* Restore the javascript_tag_for_i18n_datepicker helper (and actually use it) * Include the datepicker i18n JS in the asset precompilation list
This commit is contained in:
parent
91849c5316
commit
4b046b98ea
5 changed files with 10 additions and 9 deletions
|
|
@ -5,7 +5,7 @@ Rails.application.config.assets.version = '1.0'
|
|||
|
||||
# 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( print.css mobile.css )
|
||||
Rails.application.config.assets.precompile += %w( print.css mobile.css jquery-ui/datepicker-*.js )
|
||||
|
||||
# add /app/assets/swfs to asset pipeline for charts
|
||||
Rails.application.config.assets.paths << Rails.root.join("app", "assets", "swfs")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue