method

connect

connect(path, options = {})
public

Create an unnamed route with the provided path and options. See <a href="/rails/ActionController/Routing">ActionController::Routing</a> for an introduction to routes.