summaryrefslogtreecommitdiff
path: root/app/mailers/devise_mailer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/mailers/devise_mailer.rb')
-rw-r--r--app/mailers/devise_mailer.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/mailers/devise_mailer.rb b/app/mailers/devise_mailer.rb
index a02670aed90..61a23520d54 100644
--- a/app/mailers/devise_mailer.rb
+++ b/app/mailers/devise_mailer.rb
@@ -13,6 +13,10 @@ class DeviseMailer < Devise::Mailer
devise_mail(record, :password_change_by_admin, opts)
end
+ def user_admin_approval(record, opts = {})
+ devise_mail(record, :user_admin_approval, opts)
+ end
+
protected
def subject_for(key)