method

connect

connect(path, options = {})
public

Create an unnamed route with the provided path and options. See ActionController::Routing for an introduction to routes.