Sha256: a1eb6455235ce2904e95a0e45202e85747fe3ff8b244f40bbc581080ccc01c83
Contents?: true
Size: 1.01 KB
Versions: 7
Compression:
Stored size: 1.01 KB
Contents
# Copyright (c) 2008-2013 Michael Dvorkin and contributors. # # Fat Free CRM is freely distributable under the terms of MIT license. # See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php #------------------------------------------------------------------------------ class UserMailer < ActionMailer::Base def password_reset_instructions(user) @edit_password_url = edit_password_url(user.perishable_token) mail :subject => "Fat Free CRM: " + I18n.t(:password_reset_instruction), :to => user.email, :from => "Fat Free CRM <noreply@fatfreecrm.com>", :date => Time.now end def assigned_entity_notification(entity, assigner) @entity_url = url_for(entity) @entity_name = entity.name @entity_type = entity.class.name @assigner_name = assigner.name mail :subject => "Fat Free CRM: You have been assigned #{@entity_name} #{@entity_type}", :to => entity.assignee.email, :from => "Fat Free CRM <notifications@fatfreecrm.com>" end end
Version data entries
7 entries across 7 versions & 1 rubygems