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