Method: ActionDispatch::Journey::Router::Utils.escape_segment

Defined in:
actionpack/lib/action_dispatch/journey/router/utils.rb

.escape_segment(segment) ⇒ Object



87
88
89
# File 'actionpack/lib/action_dispatch/journey/router/utils.rb', line 87

def self.escape_segment(segment)
  ENCODER.escape_segment(segment.to_s)
end