class ActionDispatch::Routing::Mapper::Mapping
def self.build(scope, set, ast, controller, default_action, to, via, formatted, options_constraints, anchor, options)
def self.build(scope, set, ast, controller, default_action, to, via, formatted, options_constraints, anchor, options) scope_params = { blocks: scope[:blocks] || [], constraints: scope[:constraints] || {}, defaults: (scope[:defaults] || {}).dup, module: scope[:module], options: scope[:options] || {} } new set: set, ast: ast, controller: controller, default_action: default_action, to: to, formatted: formatted, via: via, options_constraints: options_constraints, anchor: anchor, scope_params: scope_params, options: scope_params[:options].merge(options) end