From 6f38416c153d0a8f377ed322cd92801dc5395df1 Mon Sep 17 00:00:00 2001 From: Kale Worsley Date: Fri, 28 Mar 2014 09:10:33 -0700 Subject: [PATCH] Include the destination_path in the instrumentation payload. --- middleman-core/lib/middleman-core/sitemap/resource.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleman-core/lib/middleman-core/sitemap/resource.rb b/middleman-core/lib/middleman-core/sitemap/resource.rb index ae3f7ae7..3310e036 100644 --- a/middleman-core/lib/middleman-core/sitemap/resource.rb +++ b/middleman-core/lib/middleman-core/sitemap/resource.rb @@ -111,7 +111,7 @@ module Middleman relative_source = Pathname(source_file).relative_path_from(Pathname(app.root)) - instrument 'render.resource', :path => relative_source do + instrument 'render.resource', :path => relative_source, :destination_path => destination_path do md = metadata.dup opts = md[:options].deep_merge(opts)