Sha256: 77469c5870bdf312fdfa50c69857bd423ba373a80a0ac2a9a8e360fe28c64f40
Contents?: true
Size: 980 Bytes
Versions: 13
Compression:
Stored size: 980 Bytes
Contents
class SessionMailer < ActionMailer::Base include Authpwn::SessionMailer def email_verification_subject(token, server_hostname, protocol) # Consider replacing the hostname with a user-friendly application name. "#{server_hostname} e-mail verification" end def email_verification_from(token, server_hostname, protocol) # You most likely need to replace the e-mail address below. %Q|"#{server_hostname} staff" <admin@#{server_hostname}>| end def reset_password_subject(token, server_hostname, protocol) # Consider replacing the hostname with a user-friendly application name. "#{server_hostname} password reset" end def reset_password_from(token, server_hostname, protocol) # You most likely need to replace the e-mail address below. %Q|"#{server_hostname} staff" <admin@#{server_hostname}>| end # You shouldn't extend the session mailer, so you can benefit from future # features. But, if you must, you can do it here. end
Version data entries
13 entries across 13 versions & 1 rubygems