lib/generators/notify_user/notification/templates/notification.rb.erb in notify_user-0.0.7 vs lib/generators/notify_user/notification/templates/notification.rb.erb in notify_user-0.0.8
- old
+ new
@@ -4,8 +4,8 @@
subject: "<%= Rails.application.class.parent_name.titleize %>: You have a new <%= name.humanize %> notification.",
aggregate: {
subject: "<%= Rails.application.class.parent_name.titleize %>: You have new <%= name.humanize %> notifications."
}
- @@description = "please override this type description"
- @@aggregate_per = 10.minutes
+ self.description = "please override this type description"
+ self.aggregate_per = 10.minutes
end
\ No newline at end of file