module Roda::RodaPlugins::StaticRouting::InstanceMethods
def call(&block)
If there is a static routing method for the given path, call it
def call(&block) super do |r| if route = self.class.static_route_for(r.request_method, r.path_info) r.static_route(&route) else instance_exec(r, &block) end end end