aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing/route_set.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2014-05-23 10:57:15 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2014-05-23 10:57:25 -0700
commit0f5e3a9f6b8a5c292092fb73a5071af102242e57 (patch)
treeda4b8565a96e73ae4c06f84e7a779cc6530aab17 /actionpack/lib/action_dispatch/routing/route_set.rb
parent6fd8346400f99c33cf207d422a22730427420dbb (diff)
downloadrails-0f5e3a9f6b8a5c292092fb73a5071af102242e57.tar.gz
rails-0f5e3a9f6b8a5c292092fb73a5071af102242e57.tar.bz2
rails-0f5e3a9f6b8a5c292092fb73a5071af102242e57.zip
decouple the router object from the request class
Diffstat (limited to 'actionpack/lib/action_dispatch/routing/route_set.rb')
-rw-r--r--actionpack/lib/action_dispatch/routing/route_set.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb
index d2366bb300..e9fb712a61 100644
--- a/actionpack/lib/action_dispatch/routing/route_set.rb
+++ b/actionpack/lib/action_dispatch/routing/route_set.rb
@@ -302,8 +302,7 @@ module ActionDispatch
@finalized = false
@set = Journey::Routes.new
- @router = Journey::Router.new(@set, {
- :request_class => request_class})
+ @router = Journey::Router.new @set
@formatter = Journey::Formatter.new @set
end