instance method connect

Ruby on Rails 2.3.18

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

connect(path, options = {})

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

Parameters

path req
options opt = {}
Source
# File actionpack/lib/action_controller/routing/route_set.rb, line 18
        def connect(path, options = {})
          @set.add_route(path, options)
        end

Defined in actionpack/lib/action_controller/routing/route_set.rb line 18 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::Routing::RouteSet::Mapper

Type at least 2 characters to search.

↑↓ navigate · open · esc close