aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/journey/router.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2014-05-23 10:35:51 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2014-05-23 10:57:25 -0700
commit6ed5b01f97cd6551e0072a9fb603f9c2487419ba (patch)
tree3d52c67786da0f0ecbfae11cdd924f96b712a0e8 /actionpack/lib/action_dispatch/journey/router.rb
parentf1175448ec60d359ede10bc63c3d83a1c2515142 (diff)
downloadrails-6ed5b01f97cd6551e0072a9fb603f9c2487419ba.tar.gz
rails-6ed5b01f97cd6551e0072a9fb603f9c2487419ba.tar.bz2
rails-6ed5b01f97cd6551e0072a9fb603f9c2487419ba.zip
switch to the `serve` method so we can remove the request class (eventually)
Diffstat (limited to 'actionpack/lib/action_dispatch/journey/router.rb')
-rw-r--r--actionpack/lib/action_dispatch/journey/router.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/actionpack/lib/action_dispatch/journey/router.rb b/actionpack/lib/action_dispatch/journey/router.rb
index d64d0923e9..218c9e9d55 100644
--- a/actionpack/lib/action_dispatch/journey/router.rb
+++ b/actionpack/lib/action_dispatch/journey/router.rb
@@ -29,12 +29,6 @@ module ActionDispatch
@routes = routes
end
- def call(env)
- req = request_class.new(env)
- req.path_info = Utils.normalize_path(req.path_info)
- serve req
- end
-
def serve(req)
find_routes(req).each do |match, parameters, route|
set_params = req.path_parameters