diff options
author | Mark Longair <mhl@pobox.com> | 2013-09-26 10:50:12 +0100 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2013-11-19 17:31:35 +0000 |
commit | 7e5fe3d27f1921841f45b46dc508af133403c1f0 (patch) | |
tree | 02f7bf9fdea41be4ead92efed80b7d95e2d72c7c /config/application.rb | |
parent | aa83f5741d9276356454f3eb869b2834246e0635 (diff) |
Switch Javascript (bar admin) to be served with the asset pipline
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb index 422976215..a83759630 100644 --- a/config/application.rb +++ b/config/application.rb @@ -81,5 +81,15 @@ module Alaveteli # Change the path that assets are served from # config.assets.prefix = "/assets" + # These additional precompiled Javascript files are actually + # manifests that require the real javascript files: + config.assets.precompile += ['admin.js', + 'profile-photos.js', + 'stats.js'] + # ... while these are individual files that can't easily be + # grouped: + config.assets.precompile += ['jquery.fancybox-1.3.4.pack.js', + 'excanvas.min.js'] + end end |