method

build

build(scope, set, ast, controller, default_action, to, via, formatted, options_constraints, anchor, options)
public

No documentation available.

# File actionpack/lib/action_dispatch/routing/mapper.rb, line 65
        def self.build(scope, set, ast, controller, default_action, to, via, formatted, options_constraints, anchor, options)
          options = scope[:options].merge(options) if scope[:options]

          defaults = (scope[:defaults] || {}).dup
          scope_constraints = scope[:constraints] || {}

          new set, ast, defaults, controller, default_action, scope[:module], to, formatted, scope_constraints, scope[:blocks] || [], via, options_constraints, anchor, options
        end