# File lib/merb-core/dispatch/router.rb, line 135 def route_for(request) index, params = if @around_match send(@around_match, request) { match(request) } else match(request) end route = routes[index] if index if !route raise ControllerExceptions::NotFound, "No routes match the request: #{request.uri}" end [route, params] end