Sha256: 3bcf5de15b3e6b3765d6b5b672822d1d97a9bf408499e6fa8118a8ee8778305e

Contents?: true

Size: 369 Bytes

Versions: 10

Compression:

Stored size: 369 Bytes

Contents

module Pageflow
  class UserMailer < ActionMailer::Base
    include Resque::Mailer

    def invitation(options)
      @user = User.find(options['user_id'])
      I18n.with_locale(@user.locale) do
        headers('X-Language' => I18n.locale)
        mail(:to => @user.email, :subject => t('.subject'), :from => Pageflow.config.mailer_sender)
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
pageflow-0.10.0 app/mailers/pageflow/user_mailer.rb
pageflow-0.9.2 app/mailers/pageflow/user_mailer.rb
pageflow-0.9.1 app/mailers/pageflow/user_mailer.rb
pageflow-0.9.0 app/mailers/pageflow/user_mailer.rb
pageflow-0.8.2 app/mailers/pageflow/user_mailer.rb
pageflow-0.8.1 app/mailers/pageflow/user_mailer.rb
pageflow-0.8.0 app/mailers/pageflow/user_mailer.rb
pageflow-0.7.2 app/mailers/pageflow/user_mailer.rb
pageflow-0.7.1 app/mailers/pageflow/user_mailer.rb
pageflow-0.7.0 app/mailers/pageflow/user_mailer.rb