diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-05-25 17:04:20 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-05-25 17:04:20 +0100 |
commit | 7f4279e44fa11aa2aa4a5f95b50c9e16d1d6e9e3 (patch) | |
tree | 94b34023c9d5d35e524233b16dfb5faaf6a6de2d /perllib/FixMyStreet/App/Controller/Contact.pm | |
parent | eb4883cdf10c73d8985a1cd3c8eae3df7d13a34f (diff) |
Bromley details in cobrand.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Contact.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Contact.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Contact.pm b/perllib/FixMyStreet/App/Controller/Contact.pm index f28d37989..91580f05a 100644 --- a/perllib/FixMyStreet/App/Controller/Contact.pm +++ b/perllib/FixMyStreet/App/Controller/Contact.pm @@ -183,7 +183,7 @@ generally required to stash sub setup_request : Private { my ( $self, $c ) = @_; - $c->stash->{contact_email} = $c->cobrand->contact_email; + $c->stash->{contact_email} = $c->cobrand->contact_email( 'contact' ); $c->stash->{contact_email} =~ s/\@/@/; for my $param (qw/em subject message/) { @@ -205,7 +205,7 @@ Sends the email sub send_email : Private { my ( $self, $c ) = @_; - my $recipient = $c->cobrand->contact_email(); + my $recipient = $c->cobrand->contact_email( 'contact' ); my $recipient_name = $c->cobrand->contact_name(); $c->stash->{host} = $c->req->header('HOST'); |