# HG changeset patch # User Nattee Niparnan # Date 2014-09-13 05:40:37 # Node ID 50d34cd13296e3e9857b6e4cc99e5df922f626cb # Parent 7654a9f33bc8894d4be30750ebc891554420117f remove new.js from SAMPLE this file must not be included in precompile option or else it will be always include in all pages (which is not what we want) diff --git a/config/application.rb.SAMPLE b/config/application.rb.SAMPLE --- a/config/application.rb.SAMPLE +++ b/config/application.rb.SAMPLE @@ -59,6 +59,6 @@ # Version of your assets, change this if you want to expire all your assets config.assets.version = '1.0' - config.assets.precompile += ['announcement_refresh.js','effects.js','site_update.js','graders.css','problems.css','new.js'] + config.assets.precompile += ['announcement_refresh.js','effects.js','site_update.js','graders.css','problems.css'] end end