aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing/route_set.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-08-24 13:47:44 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-08-24 13:49:52 -0700
commitb0e7db9ad9bf4183dda9521af46bf5395cf0ac72 (patch)
treefdc7f6323bfc382fafb70f088ade3c2c747b6510 /actionpack/lib/action_dispatch/routing/route_set.rb
parent31cc4d621f57f35356b3395cf78d7cf043d6795c (diff)
downloadrails-b0e7db9ad9bf4183dda9521af46bf5395cf0ac72.tar.gz
rails-b0e7db9ad9bf4183dda9521af46bf5395cf0ac72.tar.bz2
rails-b0e7db9ad9bf4183dda9521af46bf5395cf0ac72.zip
remove useless ivar
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 c97ea545e3..2cbf6cef90 100644
--- a/actionpack/lib/action_dispatch/routing/route_set.rb
+++ b/actionpack/lib/action_dispatch/routing/route_set.rb
@@ -328,7 +328,6 @@ module ActionDispatch
@set = Journey::Routes.new
@router = Journey::Router.new @set
@formatter = Journey::Formatter.new self
- @dispatcher_class = Routing::RouteSet::Dispatcher
end
def relative_url_root
@@ -392,7 +391,7 @@ module ActionDispatch
end
def dispatcher(raise_on_name_error)
- @dispatcher_class.new(raise_on_name_error)
+ Routing::RouteSet::Dispatcher.new raise_on_name_error
end
module MountedHelpers