Method: ActionDispatch::Journey::Router::Utils::UriEncoder#escape_segment

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

#escape_segment(segment) ⇒ Object



60
61
62
# File 'actionpack/lib/action_dispatch/journey/router/utils.rb', line 60

def escape_segment(segment)
  escape(segment, SEGMENT)
end