method

replace_segment

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.1.8) is shown here.

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