lib/action_view/context.rb in actionview-6.1.0 vs lib/action_view/context.rb in actionview-6.1.1
- old
+ new
@@ -16,9 +16,10 @@
# Prepares the context by setting the appropriate instance variables.
def _prepare_context
@view_flow = OutputFlow.new
@output_buffer = nil
+ @virtual_path = nil
end
# Encapsulates the interaction with the view flow so it
# returns the correct buffer on +yield+. This is usually
# overwritten by helpers to add more behavior.