lib/activity_notification/models/concerns/notifiable.rb in activity_notification-1.4.1 vs lib/activity_notification/models/concerns/notifiable.rb in activity_notification-1.4.2
- old
+ new
@@ -218,9 +218,15 @@
# When respond_to?(:overriding_notification_email_key) returns true,
# Mailer uses overriding_notification_email_key instead of original key.
#
# overriding_notification_email_key(target, key)
+ # overriding_notification_email_subject is the method to override subject definition for Mailer
+ # When respond_to?(:overriding_notification_email_subject) returns true,
+ # Mailer uses overriding_notification_email_subject instead of configured notification subject in locale file.
+ #
+ # overriding_notification_email_subject(target, key)
+
# Generates notifications to configured targets with notifiable model.
# This method calls NotificationApi#notify internally with self notifiable instance.
# @see NotificationApi#notify
#
\ No newline at end of file