diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2015-05-05 05:13:15 +0100 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2015-05-05 05:22:53 +0100 |
commit | 502e86ab858eca91ad803aa2595f03e52fdcb29f (patch) | |
tree | 40d2f3ca93035c395eadf48ee20e07c0efd6d16d /railties/lib | |
parent | 3b1abcc2225426d0b3245bbf8b9777b44716f9f7 (diff) | |
download | rails-502e86ab858eca91ad803aa2595f03e52fdcb29f.tar.gz rails-502e86ab858eca91ad803aa2595f03e52fdcb29f.tar.bz2 rails-502e86ab858eca91ad803aa2595f03e52fdcb29f.zip |
Fix URI.escape is obsolete warnings
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/info_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/info_controller.rb b/railties/lib/rails/info_controller.rb index 6e61cc3cb5..778105c5f7 100644 --- a/railties/lib/rails/info_controller.rb +++ b/railties/lib/rails/info_controller.rb @@ -18,7 +18,7 @@ class Rails::InfoController < Rails::ApplicationController # :nodoc: def routes if path = params[:path] - path = URI.escape path + path = URI.parser.escape path normalized_path = with_leading_slash path render json: { exact: match_route {|it| it.match normalized_path }, |