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 14:05:54 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-08-24 14:05:54 -0700
commit9b20b1cc0fe6bc2e327bcf791c5d824655585ec5 (patch)
treec2e4f373742dba47a323544f324e39f8fa22cab9 /actionpack/lib/action_dispatch/routing/route_set.rb
parent59e3b648c3191d3eaf163142f742d05a3616e0b6 (diff)
downloadrails-9b20b1cc0fe6bc2e327bcf791c5d824655585ec5.tar.gz
rails-9b20b1cc0fe6bc2e327bcf791c5d824655585ec5.tar.bz2
rails-9b20b1cc0fe6bc2e327bcf791c5d824655585ec5.zip
pull up dispatcher allocation
the dispatcher class isn't configurable anymore, so pull up allocation to the method that needs it.
Diffstat (limited to 'actionpack/lib/action_dispatch/routing/route_set.rb')
-rw-r--r--actionpack/lib/action_dispatch/routing/route_set.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb
index 654eabaa96..4e29476117 100644
--- a/actionpack/lib/action_dispatch/routing/route_set.rb
+++ b/actionpack/lib/action_dispatch/routing/route_set.rb
@@ -385,10 +385,6 @@ module ActionDispatch
@prepend.each { |blk| eval_block(blk) }
end
- def dispatcher(raise_on_name_error)
- Routing::RouteSet::Dispatcher.new raise_on_name_error
- end
-
module MountedHelpers
extend ActiveSupport::Concern
include UrlFor