Patch #34166

Fix wrong comment for Mailer.deliver_lost_password

Added by Go MAEDA about 1 month ago. Updated about 1 month ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Code cleanup/refactoring
Target version:4.2.0

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

Associated revisions

Revision 20192
Added by Go MAEDA about 1 month ago

Fix wrong comment for Mailer.deliver_account_activated (#34166).

History

#1 Updated by Go MAEDA about 1 month ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Fixed.

#2 Updated by Go MAEDA about 1 month ago

  • Subject changed from Fix wrong comment for Mailer.deliver_account_activated to Fix wrong comment for Mailer.deliver_lost_password

Also available in: Atom PDF