diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-24 13:47:44 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-24 13:49:52 -0700 |
commit | b0e7db9ad9bf4183dda9521af46bf5395cf0ac72 (patch) | |
tree | fdc7f6323bfc382fafb70f088ade3c2c747b6510 /actionpack | |
parent | 31cc4d621f57f35356b3395cf78d7cf043d6795c (diff) | |
download | rails-b0e7db9ad9bf4183dda9521af46bf5395cf0ac72.tar.gz rails-b0e7db9ad9bf4183dda9521af46bf5395cf0ac72.tar.bz2 rails-b0e7db9ad9bf4183dda9521af46bf5395cf0ac72.zip |
remove useless ivar
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/route_set.rb | 3 |
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 |