1
0
Fork 0
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:
Aaron Patterson 2014-07-07 10:29:19 -07:00
parent 09eeb3fc04
commit 1e7f28c985

View file

@ -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