mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
10 lines
178 B
Ruby
10 lines
178 B
Ruby
require 'uri'
|
|
|
|
module ActionController #:nodoc:
|
|
module UriParser
|
|
def uri_parser
|
|
@uri_parser ||= URI.const_defined?(:Parser) ? URI::Parser.new : URI
|
|
end
|
|
end
|
|
end
|