lib/action_view/context.rb in actionview-5.0.7.2 vs lib/action_view/context.rb in actionview-5.1.0.beta1

- old
+ new

@@ -26,10 +26,10 @@ # 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. # :api: plugin - def _layout_for(name=nil) + def _layout_for(name = nil) name ||= :layout view_flow.get(name).html_safe end end end