lib/roda/plugins/branch_locals.rb in roda-3.0.0 vs lib/roda/plugins/branch_locals.rb in roda-3.1.0

- old
+ new

@@ -58,10 +58,10 @@ end # Make branch specific layout locals override render_locals plugin defaults. def layout_locals locals = super - if @_view_locals + if @_layout_locals locals = Hash[locals].merge!(@_layout_locals) end locals end end