lib/roda/plugins/content_for.rb in roda-3.45.0 vs lib/roda/plugins/content_for.rb in roda-3.46.0
- old
+ new
@@ -60,11 +60,10 @@
def self.load_dependencies(app, _opts = OPTS)
app.plugin :render
end
# Configure whether to append or overwrite if content_for
- # is called multiple times to set data. Overwrite is default, use
- # the :append option to append.
+ # is called multiple times with the same key.
def self.configure(app, opts = OPTS)
app.opts[:append_content_for] = opts.fetch(:append, true)
end
module InstanceMethods