diff options
Diffstat (limited to 'actionpack/lib/action_controller/routing.rb')
-rw-r--r-- | actionpack/lib/action_controller/routing.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/routing.rb b/actionpack/lib/action_controller/routing.rb index 6a0988b754..dcc3b2851b 100644 --- a/actionpack/lib/action_controller/routing.rb +++ b/actionpack/lib/action_controller/routing.rb @@ -421,7 +421,7 @@ module ActionController if recognized = @@recognized_route_cache[request.path] controller, options = recognized request.path_parameters = options - controller + controller.new else string_path = request.path string_path.chomp! if string_path[0] == ?/ |