Fix issue #302
This commit is contained in:
parent
6edefe3c68
commit
c6c3021593
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue