lib/roda/plugins/heartbeat.rb in roda-3.11.0 vs lib/roda/plugins/heartbeat.rb in roda-3.12.0

- old
+ new

@@ -27,10 +27,10 @@ module InstanceMethods private # If the request is for a heartbeat path, return the heartbeat response. - def _roda_before_20 + def _roda_before_20__heartbeat if env['PATH_INFO'] == opts[:heartbeat_path] response = HEARTBEAT_RESPONSE.dup response[1] = Hash[response[1]] throw :halt, response end