1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

#5234 fix. Deprecated warning at controller_helpers.rb

This commit is contained in:
Vitalii Lazebnyi 2020-05-08 03:53:12 +03:00 committed by Carlos Antonio da Silva
parent 26c7dffe2a
commit e0b9915418

View file

@ -37,6 +37,8 @@ module Devise
@response
end
ruby2_keywords(:process) if respond_to?(:ruby2_keywords, true)
# We need to set up the environment variables and the response in the controller.
def setup_controller_for_warden #:nodoc:
@request.env['action_controller.instance'] = @controller