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:
parent
26c7dffe2a
commit
e0b9915418
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue