Sha256: 446bbf1fc11719abf35a9f3ca8641d12b7918267bb20311523b2259a4fb245fa

Contents?: true

Size: 252 Bytes

Versions: 8

Compression:

Stored size: 252 Bytes

Contents

Devise.module_eval {
  mattr_accessor :approval_recepient
  @@approval_recepient = nil
}

DeviseMailer.module_eval {
  def approval_instructions(record)
    setup_mail(record, :approval_instructions)
    recipients    Devise.approval_recepient
  end
}

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
devise_approvable-0.6.0 lib/approvable_mailer.rb
devise_approvable-0.5.0 lib/approvable_mailer.rb
devise_approvable-0.4.0 lib/approvable_mailer.rb
devise_approvable-0.3.0 lib/approvable_mailer.rb
devise-approvable-0.3.0 lib/approvable_mailer.rb
devise-approvable-0.2.0 lib/approvable_mailer.rb
devise-approvable-0.1.0 lib/approvable_mailer.rb
device-approvable-0.1.0 lib/approvable_mailer.rb