Sha256: 26576567921b697edd21777069af268dde4e3d0a861d35e2bb6e4299fdf676fb

Contents?: true

Size: 364 Bytes

Versions: 4

Compression:

Stored size: 364 Bytes

Contents

class WelcomeController < ApplicationController
  def signup
    UserMailer.signup(params['Email'], params['Name']).deliver
  end

  def confirm
  end

  def newsletter
    Delayed::Job.enqueue(NotifierJob.new(:newsletter,params['Email'], params['Name']))
  end

  def attachments
    UserMailer.attachments_mail(params['Email'], params['Name']).deliver
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
email_spec-1.0.1 examples/rails3_root/app/controllers/welcome_controller.rb
email_spec-1.2.1 examples/rails3_root/app/controllers/welcome_controller.rb
email_spec-1.2.0 examples/rails3_root/app/controllers/welcome_controller.rb
email_spec-1.1.1 examples/rails3_root/app/controllers/welcome_controller.rb