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

Version Path
spud_inquiries-1.0.1 app/mailers/spud/inquiry_mailer.rb
spud_inquiries-1.0.0 app/mailers/spud/inquiry_mailer.rb
tb_inquiries-1.0.1 app/mailers/spud/inquiry_mailer.rb
spud_inquiries-1.0.0.rc4 app/mailers/spud/inquiry_mailer.rb
spud_inquiries-1.0.0.rc3 app/mailers/spud/inquiry_mailer.rb
spud_inquiries-1.0.0.rc2 app/mailers/spud/inquiry_mailer.rb
tb_inquiries-1.0.0 app/mailers/spud/inquiry_mailer.rb
spud_inquiries-1.0.0.rc1.1 app/mailers/spud/inquiry_mailer.rb
spud_inquiries-1.0.0.rc1 app/mailers/spud/inquiry_mailer.rb
spud_inquiries-0.9.5 app/mailers/spud/inquiry_mailer.rb
spud_inquiries-0.9.3 app/mailers/spud/inquiry_mailer.rb
spud_inquiries-0.9.2 app/mailers/spud/inquiry_mailer.rb