diff options
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/routing.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/routing.rb b/actionpack/lib/action_controller/routing.rb index 3590513325..2c67df254f 100644 --- a/actionpack/lib/action_controller/routing.rb +++ b/actionpack/lib/action_controller/routing.rb @@ -1,5 +1,4 @@ require 'cgi' -require 'pathname' class Object def to_param @@ -64,7 +63,6 @@ module ActionController @possible_controllers = [] paths = $LOAD_PATH.select { |path| File.directory? path } - paths.collect! { |path| Pathname.new(path).realpath.to_s } paths = paths.sort_by { |path| - path.length } seen_paths = Hash.new {|h, k| h[k] = true; false} |