Sha256: a8af3f7a0f0e0750afa8e17a17079fc3ec8061b30967c063ac3f0dea556149a4
Contents?: true
Size: 377 Bytes
Versions: 12
Compression:
Stored size: 377 Bytes
Contents
class Spud::InquiryMailer < ActionMailer::Base def inquiry_notification(inquiry) @inquiry = inquiry @url = spud_admin_inquiry_url(:id => @inquiry.id) # @url = "/spud/admin/inquiries/#{@inquiry.id}" mail(:from =>Spud::Inquiries.from_address,:to => @inquiry.recipients.split(","), :subject => @inquiry.subject.blank? ? "No Subject" : @inquiry.subject) end end
Version data entries
12 entries across 12 versions & 2 rubygems