mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
pull up dispatcher allocation
the dispatcher class isn't configurable anymore, so pull up allocation to the method that needs it.
This commit is contained in:
parent
59e3b648c3
commit
9b20b1cc0f
2 changed files with 1 additions and 5 deletions
|
@ -368,7 +368,7 @@ module ActionDispatch
|
|||
end
|
||||
|
||||
def dispatcher(raise_on_name_error)
|
||||
@set.dispatcher raise_on_name_error
|
||||
Routing::RouteSet::Dispatcher.new raise_on_name_error
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue