lib/roda/plugins/not_found.rb in roda-3.79.0 vs lib/roda/plugins/not_found.rb in roda-3.81.0
- old
+ new
@@ -29,10 +29,10 @@
#
# This plugin is now a wrapper around the +status_handler+ plugin and
# still exists mainly for backward compatibility.
module NotFound
# Require the status_handler plugin
- def self.load_dependencies(app)
+ def self.load_dependencies(app, &_)
app.plugin :status_handler
end
# If a block is given, install the block as the not_found handler.
def self.configure(app, &block)