Sha256: 13e9bdfb2fe4d5e636d830b13ed0e0097604810d62ef0a9847244cbb54e3e2fb

Contents?: true

Size: 264 Bytes

Versions: 233

Compression:

Stored size: 264 Bytes

Contents

class DeviseMailer < Devise::Mailer
  def headers_for(action, opts)
    headers = super(action, opts)
    if resource.full_name.present?
      headers[:to] = "\"#{resource.full_name}\" <#{resource.email}>"
      @email = headers[:to]
    end
    headers
  end
end

Version data entries

233 entries across 233 versions & 1 rubygems

Version Path
bullet_train-1.7.17 app/mailers/devise_mailer.rb
bullet_train-1.7.16 app/mailers/devise_mailer.rb
bullet_train-1.7.15 app/mailers/devise_mailer.rb
bullet_train-1.7.14 app/mailers/devise_mailer.rb
bullet_train-1.7.13 app/mailers/devise_mailer.rb
bullet_train-1.7.12 app/mailers/devise_mailer.rb
bullet_train-1.7.11 app/mailers/devise_mailer.rb
bullet_train-1.7.10 app/mailers/devise_mailer.rb
bullet_train-1.7.9 app/mailers/devise_mailer.rb
bullet_train-1.7.3 app/mailers/devise_mailer.rb
bullet_train-1.7.2 app/mailers/devise_mailer.rb
bullet_train-1.7.1 app/mailers/devise_mailer.rb
bullet_train-1.7.0 app/mailers/devise_mailer.rb
bullet_train-1.6.38 app/mailers/devise_mailer.rb
bullet_train-1.6.37 app/mailers/devise_mailer.rb
bullet_train-1.6.36 app/mailers/devise_mailer.rb
bullet_train-1.6.35 app/mailers/devise_mailer.rb
bullet_train-1.6.34 app/mailers/devise_mailer.rb
bullet_train-1.6.33 app/mailers/devise_mailer.rb
bullet_train-1.6.32 app/mailers/devise_mailer.rb