class ActionDispatch::Routing::Mapper::Mapping

def normalize_defaults(options)

def normalize_defaults(options)
  Hash[options.reject { |_, default| Regexp === default }]
end