replace_segment(params, segment)
private

No documentation available.

# File actionpack/lib/action_dispatch/routing/route_set.rb, line 198
            def replace_segment(params, segment)
              Symbol === segment ? @klass.escape_segment(params[segment]) : segment
            end