def dispatch_action(request)
      method = request_method(request)
      path = request.path.sub(/\.\w+$/, '')
      route = @routing.detect { |r| r[0] == method && r[1] == path }
      route[2] if route
    end
def dispatch_action(request)
      method = request_method(request)
      path = request.path.sub(/\.\w+$/, '')
      route = @routing.detect { |r| r[0] == method && r[1] == path }
      route[2] if route
    end
Dispatch action from request