aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-08-24 13:47:04 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-08-24 13:49:52 -0700
commit31cc4d621f57f35356b3395cf78d7cf043d6795c (patch)
tree8bdcdb9f17b976c2082c03087fdd246fbe9845fc /actionpack
parent2237ee059669aa8b65355fa9c8d4b426d4ae113c (diff)
downloadrails-31cc4d621f57f35356b3395cf78d7cf043d6795c.tar.gz
rails-31cc4d621f57f35356b3395cf78d7cf043d6795c.tar.bz2
rails-31cc4d621f57f35356b3395cf78d7cf043d6795c.zip
remove setter for the dispatcher class
we don't need it anymore. We always use the same dispatcher in tests.
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/routing/route_set.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb
index 3706c6cd8e..c97ea545e3 100644
--- a/actionpack/lib/action_dispatch/routing/route_set.rb
+++ b/actionpack/lib/action_dispatch/routing/route_set.rb
@@ -285,7 +285,7 @@ module ActionDispatch
attr_accessor :formatter, :set, :named_routes, :default_scope, :router
attr_accessor :disable_clear_and_finalize, :resources_path_names
- attr_accessor :default_url_options, :dispatcher_class
+ attr_accessor :default_url_options
attr_reader :env_key
alias :routes :set
@@ -392,7 +392,7 @@ module ActionDispatch
end
def dispatcher(raise_on_name_error)
- dispatcher_class.new(raise_on_name_error)
+ @dispatcher_class.new(raise_on_name_error)
end
module MountedHelpers