Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (12 sloc) 369 Bytes
class HydrantMailer < ActionMailer::Base
default :from => "hello@#{default_url_options[:host]}"
def reminder_email(hydrant)
@hydrant = hydrant
@user = hydrant.user
mail({
:to => hydrant.user.email,
:from => "reminder@#{default_url_options[:host]}",
:subject => ["Remember to Shovel", hydrant.name].compact.join(' '),
})
end
end
Jump to Line
Something went wrong with that request. Please try again.