2018-11-20 11:57:51 +01:00
|
|
|
# Preview all emails at http://localhost:3000/rails/mailers/devise_user_mailer
|
2018-05-14 14:21:03 +02:00
|
|
|
class DeviseUserMailer < Devise::Mailer
|
|
|
|
helper :application # gives access to all helpers defined within `application_helper`.
|
|
|
|
include Devise::Controllers::UrlHelpers # Optional. eg. `confirmation_url`
|
|
|
|
layout 'mailers/layout'
|
2018-06-08 19:41:34 +02:00
|
|
|
|
|
|
|
def template_paths
|
|
|
|
['devise_mailer']
|
|
|
|
end
|
2018-05-14 14:21:03 +02:00
|
|
|
end
|