# File lib/generators/templates/mailer/app/mailers/%file_name%_mailer.rb, line 4 def notify_on_event # use params[] passed to this controller to get data # read more at http://wiki.merbivore.com/pages/mailers render_mail end