lib/sinatra/assetpack/class_methods.rb in sinatra-assetpack-0.2.4 vs lib/sinatra/assetpack/class_methods.rb in sinatra-assetpack-0.2.5
- old
+ new
@@ -60,10 +60,10 @@
pass if settings.assets.ignored?("#{path}/#{clean_file}")
# Send headers
content_type fmt.to_sym
- last_modified File.mtime(fn).to_i
+ last_modified File.mtime(fn)
assets_expires
format = File.extname(fn)[1..-1]
if defined?(settings.assets.app.clear_tilt_cache) && settings.assets.app.clear_tilt_cache