spec/dummy/lib/maily_hooks.rb in maily-0.7.2 vs spec/dummy/lib/maily_hooks.rb in maily-0.8.0
- old
+ new
@@ -2,8 +2,9 @@
Maily.hooks_for('Notifier') do |mailer|
mailer.register_hook(:invitation, email)
mailer.register_hook(:recommendation, template_path: 'notifications', description: 'description')
mailer.register_hook(:custom_template_name, template_name: 'invitation')
+ mailer.register_hook(:generic_welcome)
mailer.hide_email(:hidden)
end