mirror of
https://github.com/heartcombo/devise.git
synced 2026-01-10 08:08:00 -05:00
ref will be reference in 3.1
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user