lib/nanoc/helpers/rendering.rb in nanoc-4.9.4 vs lib/nanoc/helpers/rendering.rb in nanoc-4.9.5
- old
+ new
@@ -16,9 +16,10 @@
def render(identifier, other_assigns = {}, &block)
# Find layout
layout_view = @layouts[identifier]
layout_view ||= @layouts[identifier.__nanoc_cleaned_identifier]
raise Nanoc::Int::Errors::UnknownLayout.new(identifier) if layout_view.nil?
+
layout = layout_view._unwrap
# Visit
dependency_tracker = @config._context.dependency_tracker
dependency_tracker.bounce(layout, raw_content: true)