Sha256: d899b6b44ea740692ab4f3b67044ee026b7c6bf2751b0df862e1efc7d0de152f
Contents?: true
Size: 704 Bytes
Versions: 26
Compression:
Stored size: 704 Bytes
Contents
class Dorsale::Flyboy::TaskMailer < ::Dorsale::ApplicationMailer def new_task(task, author) @task = task @locals = { :author => author.to_s, :owner => task.owner.to_s, :task_url => flyboy_task_url(@task), :task_name => task.to_s, } mail( :to => task.owner.email, :subject => t("task_mailer.new_task.subject", @locals), ) end def term_email(task) @task = task @locals = { :owner => task.owner.to_s, :task_url => flyboy_task_url(@task), :task_name => task.to_s, } mail( :to => task.owner.email, :subject => t("task_mailer.term_email.subject", @locals), ) end end
Version data entries
26 entries across 26 versions & 1 rubygems