From b0e7db9ad9bf4183dda9521af46bf5395cf0ac72 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Mon, 24 Aug 2015 13:47:44 -0700 Subject: remove useless ivar --- actionpack/lib/action_dispatch/routing/route_set.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'actionpack/lib/action_dispatch/routing/route_set.rb') 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 -- cgit v1.2.3