Sha256: 611a45c46ec7f532a0ee8f167b2b09be30aa8388e065a73a5f71b74e8025bfb3

Contents?: true

Size: 353 Bytes

Versions: 1

Compression:

Stored size: 353 Bytes

Contents

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

  def confirm
  end

  def newsletter
    UserMailer.signup(params['Email'], params['Name']).send_later(:deliver)
  end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
path-email_spec-0.6.2 examples/rails3_root/app/controllers/welcome_controller.rb