Sha256: 6c2d385a3b92c282840dad16d9b572a2e28c802ac9d9bff6e810703eea52dd73
Contents?: true
Size: 765 Bytes
Versions: 5
Compression:
Stored size: 765 Bytes
Contents
module Clearance module App module Models module UserMailer def self.included(base) base.class_eval do include InstanceMethods end end module InstanceMethods def change_password(user) from DO_NOT_REPLY recipients user.email subject "[#{PROJECT_NAME.humanize}] Change your password" body :user => user end def confirmation(user) recipients user.email from DO_NOT_REPLY subject "[#{PROJECT_NAME.humanize}] Email confirmation" body :user => user end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems