blob: 6ed00755709c4bd2d94050cc2796c6649277398b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# models/application_mailer.rb:
# Shared code between different mailers.
#
# Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
# $Id: application_mailer.rb,v 1.2 2008-01-14 12:27:56 francis Exp $
class ApplicationMailer < ActionMailer::Base
# Include all the functions views get, as emails call similar things.
helper :application
def contact_from_name_and_email
"GovernmentSpy <"+MySociety::Config.get("CONTACT_EMAIL", 'contact@localhost')+">"
end
end
|