lib/roda/plugins/match_hook.rb in roda-3.70.0 vs lib/roda/plugins/match_hook.rb in roda-3.71.0

- old
+ new

@@ -2,10 +2,12 @@ # class Roda module RodaPlugins # The match_hook plugin adds hooks that are called upon a successful match - # by any of the matchers. + # by any of the matchers. The hooks do not take any arguments. If you would + # like hooks that pass the arguments/matchers and values yielded to the route block, + # use the match_hook_args plugin. # # plugin :match_hook # # match_hook do # logger.debug("#{request.matched_path} matched. #{request.remaining_path} remaining.")