djanowski-collage 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/collage.rb +1 -1
- metadata +1 -1
data/lib/collage.rb
CHANGED
@@ -14,7 +14,7 @@ class Collage
|
|
14
14
|
|
15
15
|
File.open(filename, 'w') {|f| f.write(result) }
|
16
16
|
|
17
|
-
[200, {'Content-Type' => 'text/javascript', 'Content-Length' => result.size.to_s, 'Last-Modified' =>
|
17
|
+
[200, {'Content-Type' => 'text/javascript', 'Content-Length' => result.size.to_s, 'Last-Modified' => File.mtime(filename).httpdate}, result]
|
18
18
|
end
|
19
19
|
|
20
20
|
def filename
|