diff --git a/lib/middleman/core_extensions/rendering.rb b/lib/middleman/core_extensions/rendering.rb index 158e87e7..5f066f8b 100644 --- a/lib/middleman/core_extensions/rendering.rb +++ b/lib/middleman/core_extensions/rendering.rb @@ -103,7 +103,7 @@ module Middleman::CoreExtensions::Rendering end # @private - def render_individual_file(path, locs = {}, opts = {}, context, &block) + def render_individual_file(path, locs = {}, opts = {}, context = self, &block) path = path.to_s @_out_buf, _buf_was = "", @_out_buf