Remove Rails 3.2 compatibility fix.

This commit is contained in:
Lucas Mazza 2016-01-18 13:59:27 -02:00
parent b91bbb1590
commit cc02d06c58
1 changed files with 0 additions and 9 deletions

View File

@ -43,14 +43,5 @@ module Devise
)
end
end
initializer "devise.fix_routes_proxy_missing_respond_to_bug" do
# Deprecate: Remove once we move to Rails 4 only.
ActionDispatch::Routing::RoutesProxy.class_eval do
def respond_to?(method, include_private = false)
super || routes.url_helpers.respond_to?(method)
end
end
end
end
end