diff options
author | Jamis Buck <jamis@37signals.com> | 2006-06-01 15:42:08 +0000 |
---|---|---|
committer | Jamis Buck <jamis@37signals.com> | 2006-06-01 15:42:08 +0000 |
commit | b20c575ac02373723438468932ceddd97056c9ec (patch) | |
tree | 5f977af66c7c75f1d11ba9a81a3bfac75a452e6e /actionpack/lib/action_controller/test_process.rb | |
parent | 74b7bfa6d2c5c777b11cb6ea8687c0461b579f7e (diff) | |
download | rails-b20c575ac02373723438468932ceddd97056c9ec.tar.gz rails-b20c575ac02373723438468932ceddd97056c9ec.tar.bz2 rails-b20c575ac02373723438468932ceddd97056c9ec.zip |
New routes implementation. Simpler, faster, easier to understand. The published API for config/routes.rb is unchanged, but nearly everything else is different, so expect breakage in plugins and libs that try to fiddle with routes.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4394 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/test_process.rb')
-rw-r--r-- | actionpack/lib/action_controller/test_process.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/test_process.rb b/actionpack/lib/action_controller/test_process.rb index 4d79880278..3fb6713f7b 100644 --- a/actionpack/lib/action_controller/test_process.rb +++ b/actionpack/lib/action_controller/test_process.rb @@ -106,7 +106,7 @@ module ActionController #:nodoc: if value.is_a? Fixnum value = value.to_s elsif value.is_a? Array - value = ActionController::Routing::PathComponent::Result.new(value) + value = ActionController::Routing::PathSegment::Result.new(value) end if extra_keys.include?(key.to_sym) @@ -433,7 +433,7 @@ module ActionController #:nodoc: end def method_missing(selector, *args) - return @controller.send(selector, *args) if ActionController::Routing::NamedRoutes::Helpers.include?(selector) + return @controller.send(selector, *args) if ActionController::Routing::Routes.named_routes.helpers.include?(selector) return super end |