lib/roda/plugins/middleware.rb
def call(&block)
          super do |r|
            res = instance_exec(r, &block) # call Fallback
            throw :next, true if r.forward_next
            res
          end
        end
# Override the route block so that if no route matches, we throw so
# that the next middleware is called. Old Dispatch API.
Override the route block so that if no route matches, we throw so
that the next middleware is called. Old Dispatch API.
Override the route block so that if no route matches we throw so that the next middleware is called . Old Dispatch API .
def call(&block)
          super do |r|
            res = instance_exec(r, &block) 
            throw :next, true if r.forward_next
            res
          end
        end
def call ( & block ) super do | r | res = instance_exec ( r , & block ) throw :next , true if r . forward_next res end end
Override the route block so that if no route matches, we throw so
that the next middleware is called.
Override the route block so that if no route matches we throw so that the next middleware is called .
# call Fallback
block