module Roda::RodaPlugins::Middleware::InstanceMethods
def call(&block)
Override the route block so that if no route matches, we throw so
def call(&block) super do |r| res = instance_exec(r, &block) # call Fallback if r.forward_next r.env['roda.response_headers'] = response.headers if opts[:middleware_forward_response_headers] throw :next, true end res end end