From f2e32e4fd7332d61324daaf33e99fd7f2e8e4c2a Mon Sep 17 00:00:00 2001 From: Geoff Buesing Date: Mon, 4 Oct 2010 14:25:27 -0500 Subject: [PATCH] require 'uri' in action_controller/url_rewriter [#5555 state:resolved] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: José Valim --- actionpack/lib/action_controller/url_rewriter.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/actionpack/lib/action_controller/url_rewriter.rb b/actionpack/lib/action_controller/url_rewriter.rb index 552c2ae93e..e6d99f2eb7 100644 --- a/actionpack/lib/action_controller/url_rewriter.rb +++ b/actionpack/lib/action_controller/url_rewriter.rb @@ -1,3 +1,5 @@ +require 'uri' + module ActionController # In routes.rb one defines URL-to-controller mappings, but the reverse # is also possible: an URL can be generated from one of your routing definitions.