Method: ActionDispatch::Routing::Mapper::Mapping#make_route

Defined in:
actionpack/lib/action_dispatch/routing/mapper.rb

#make_route(name, precedence) ⇒ Object



183
184
185
186
187
188
# File 'actionpack/lib/action_dispatch/routing/mapper.rb', line 183

def make_route(name, precedence)
  Journey::Route.new(name: name, app: application, path: path, constraints: conditions,
                     required_defaults: required_defaults, defaults: defaults,
                     request_method_match: request_method, precedence: precedence,
                     scope_options: scope_options, internal: @internal, source_location: route_source_location)
end