Actions
Patch #34166
closedFix wrong comment for Mailer.deliver_lost_password
Description
Index: app/models/mailer.rb
===================================================================
--- app/models/mailer.rb (リビジョン 20190)
+++ app/models/mailer.rb (作業コピー)
@@ -407,8 +407,8 @@
# The email will be sent to the email address specifiedby recipient if provided.
#
# Exemple:
- # Mailer.deliver_account_activated(user, token)
- # Mailer.deliver_account_activated(user, token, 'foo@example.net')
+ # Mailer.deliver_lost_password(user, token)
+ # Mailer.deliver_lost_password(user, token, 'foo@example.net')
def self.deliver_lost_password(user, token, recipient=nil)
lost_password(user, token, recipient).deliver_later
end
Actions