Permalink
Browse files

fix for nested paths

  • Loading branch information...
1 parent ed47778 commit 32ec959f630e0eba1e6b203c243ae40a3ee2f49f @DohMoose DohMoose committed with Sep 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rack-offline.rb
View
@@ -30,7 +30,7 @@ def cache_block(root)
"#{root}/**/*.html",
"#{root}/stylesheets/**/*.css",
"#{root}/javascripts/**/*.js",
- "#{root}/images/**"]
+ "#{root}/images/**/*.*"]
files.each do |file|
cache Pathname.new(file).relative_path_from(root)

0 comments on commit 32ec959

Please sign in to comment.