mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
remove the mounted_helpers respond_to check
It always responds to mounted_helpers now
This commit is contained in:
parent
09eeb3fc04
commit
1e7f28c985
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ module ActionDispatch
|
|||
if app.respond_to?(:routes)
|
||||
singleton_class.class_eval do
|
||||
include app.routes.url_helpers
|
||||
include app.routes.mounted_helpers if app.routes.respond_to?(:mounted_helpers)
|
||||
include app.routes.mounted_helpers
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue