lib/nanoc/base/services/executor.rb in nanoc-4.1.0a1 vs lib/nanoc/base/services/executor.rb in nanoc-4.1.0b1

- old
+ new

@@ -53,10 +53,10 @@ end end def layout(rep, layout_identifier, extra_filter_args = nil) layout = find_layout(layout_identifier) - filter_name, filter_args = @compiler.rules_collection.filter_for_layout(layout) + filter_name, filter_args = *@compiler.filter_name_and_args_for_layout(layout) if filter_name.nil? raise Nanoc::Int::Errors::Generic, "Cannot find rule for layout matching #{layout_identifier}" end filter_args = filter_args.merge(extra_filter_args || {})