lib/jammit/controller.rb in jammit-0.2.3 vs lib/jammit/controller.rb in jammit-0.2.4
- old
+ new
@@ -7,10 +7,10 @@
VALID_FORMATS = [:css, :js, :jst]
SUFFIX_STRIPPER = /-(datauri|mhtml)\Z/
- NOT_FOUND_PATH = "#{RAILS_ROOT}/public/404.html"
+ NOT_FOUND_PATH = "#{ASSET_ROOT}/public/404.html"
after_filter :cache_package if perform_caching
# The "package" action receives all requests for asset packages that haven't
# yet been cached. The package will be built, cached, and gzipped.