This commit is contained in:
Ben Hollis 2012-03-11 23:33:46 -07:00
parent 6edefe3c68
commit c6c3021593

View file

@ -42,12 +42,8 @@ module Middleman::Sitemap
# Internal path to be requested when rendering this page # Internal path to be requested when rendering this page
# @return [String] # @return [String]
def request_path def request_path
if proxy?
store.page(proxied_to).destination_path
else
destination_path destination_path
end end
end
# Set the on-disk source file for this page # Set the on-disk source file for this page
# @param [String] src # @param [String] src