Permalink
Browse files

Merge pull request #49 from HectorMalot/master

fix for issue #48
  • Loading branch information...
2 parents 77da36f + d449278 commit d4ec22fb05d3822182a39820a7ffd759903f3581 @winton committed Mar 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/stasis.rb
View
2 lib/stasis.rb
@@ -94,7 +94,7 @@ def load_paths
# Reject paths that are directories or within the destination directory.
@paths.reject! do |path|
- !File.file?(path) || path[0..@destination.length-1] == @destination
+ !File.file?(path) || path[0..@destination.length] == @destination+'/'
end
# Reject paths that are controllers.

0 comments on commit d4ec22f

Please sign in to comment.