method
connect
rails latest stable - Class:
ActionDispatch::Routing::Mapper::Mapping::HttpHelpers
connect(*args, &block)public
Define a route that recognizes HTTP CONNECT (and GET) requests. More specifically this recognizes HTTP/1 protocol upgrade requests and HTTP/2 CONNECT requests with the protocol pseudo header. For supported arguments, see [match](rdoc-ref:Base#match)
connect 'live', to: 'live#index'