Permalink
Browse files

fixes truncating path

  • Loading branch information...
1 parent bcbee4e commit 9205a7377782acbfd62820ac3bfc6edd17fa0bf4 @eric-roland eric-roland committed Feb 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/big_sitemap.rb
View
@@ -179,7 +179,7 @@ def add_urls
with_sitemap do |builder|
@paths.each do |path, options|
- url = File.join @options[:base_url], File.basename(path)
+ url = File.join @options[:base_url], File.path(path)
builder.add_url! url, options
end
end

0 comments on commit 9205a73

Please sign in to comment.