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.13.0 app/mailers/devise_mailer.rb
bullet_train-1.12.3 app/mailers/devise_mailer.rb
bullet_train-1.12.2 app/mailers/devise_mailer.rb
bullet_train-1.12.1 app/mailers/devise_mailer.rb
bullet_train-1.12.0 app/mailers/devise_mailer.rb
bullet_train-1.11.0 app/mailers/devise_mailer.rb
bullet_train-1.10.0 app/mailers/devise_mailer.rb
bullet_train-1.9.0 app/mailers/devise_mailer.rb
bullet_train-1.8.5 app/mailers/devise_mailer.rb
bullet_train-1.8.4 app/mailers/devise_mailer.rb
bullet_train-1.8.3 app/mailers/devise_mailer.rb
bullet_train-1.8.2 app/mailers/devise_mailer.rb
bullet_train-1.8.1 app/mailers/devise_mailer.rb
bullet_train-1.8.0 app/mailers/devise_mailer.rb
bullet_train-1.7.23 app/mailers/devise_mailer.rb
bullet_train-1.7.22 app/mailers/devise_mailer.rb
bullet_train-1.7.21 app/mailers/devise_mailer.rb
bullet_train-1.7.20 app/mailers/devise_mailer.rb
bullet_train-1.7.19 app/mailers/devise_mailer.rb
bullet_train-1.7.18 app/mailers/devise_mailer.rb