mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
ref will be reference in 3.1
This commit is contained in:
parent
0c9bd3259e
commit
fe9024218c
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ module Devise
|
|||
|
||||
# Set the mailer reference object to access the mailer.
|
||||
def self.mailer=(class_name)
|
||||
@@mailer_ref = ActiveSupport::Dependencies.ref(class_name)
|
||||
@@mailer_ref = ActiveSupport::Dependencies.reference(class_name)
|
||||
end
|
||||
self.mailer = "Devise::Mailer"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue